From d128f8a2527ef74a0661461c5c393a760b6c97dd Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 20 Sep 2013 17:51:00 +0000 Subject: [PATCH] Clarify that we silently ignore some MS extensions like IDL attributes llvm-svn: 191096 --- clang/docs/UsersManual.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index 15bac1e3e76b..1f5084456dd3 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -1215,9 +1215,11 @@ Microsoft extensions clang has some experimental support for extensions from Microsoft Visual C++; to enable it, use the -fms-extensions command-line option. This is -the default for Windows targets. Note that the support is incomplete; -some constructs like dllexport on classes with inline methods will be -ignored with a warning. +the default for Windows targets. Note that the support is incomplete. +Some constructs such as dllexport on classes are ignored with a warning, +and others such as `Microsoft IDL annotations +` are silently +ignored. clang has a -fms-compatibility flag that makes clang accept enough invalid C++ to be able to parse most Microsoft headers. For example, it