Clarify that we silently ignore some MS extensions like IDL attributes

llvm-svn: 191096
This commit is contained in:
Reid Kleckner 2013-09-20 17:51:00 +00:00
parent 993e72a68e
commit d128f8a252
1 changed files with 5 additions and 3 deletions

View File

@ -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
<http://msdn.microsoft.com/en-us/library/8tesw2eh.aspx>` 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