From cc6fab9abd8c8dc4fc1b0121bdc7882e522f7b67 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191096 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/UsersManual.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index 15bac1e3e7..1f5084456d 100644 --- a/docs/UsersManual.rst +++ b/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 -- 2.50.1