[cfe-commits] r160054 - /cfe/trunk/docs/UsersManual.html

Nico Weber nicolasweber at gmx.de
Wed Jul 11 09:56:28 PDT 2012


Author: nico
Date: Wed Jul 11 11:56:28 2012
New Revision: 160054

URL: http://llvm.org/viewvc/llvm-project?rev=160054&view=rev
Log:
Mention -fms-compatibility and -fdelayed-template-parsing in UsersManual.

Also mention that -std=c++11 is now on by default on windows.


Modified:
    cfe/trunk/docs/UsersManual.html

Modified: cfe/trunk/docs/UsersManual.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.html?rev=160054&r1=160053&r2=160054&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.html (original)
+++ cfe/trunk/docs/UsersManual.html Wed Jul 11 11:56:28 2012
@@ -1082,6 +1082,14 @@
 certain constructs (including __declspec and Microsoft-style asm statements).
 </p>
 
+<p>clang has a -fms-compatibility flag that makes clang accept enough
+invalid C++ to be able to parse most Microsoft headers. This flag is enabled by
+default for Windows targets.</p>
+
+<p>-fdelayed-template-parsing lets clang delay all template instantiation until
+the end of a translation unit. This flag is enabled by default for Windows
+targets.</p>
+
 <ul>
 <li>clang allows setting _MSC_VER with -fmsc-version=. It defaults to 1300 which
 is the same as Visual C/C++ 2003. Any number is supported and can greatly affect
@@ -1096,6 +1104,8 @@
 controlling record layout. GCC also contains support for this feature,
 however where MSVC and GCC are incompatible clang follows the MSVC
 definition.</li>
+
+<li>clang defaults to C++11 for Windows targets.</li>
 </ul>
 
 <!-- ======================================================================= -->
@@ -1181,6 +1191,8 @@
 
 <p>Experimental supports are on Cygming.</p>
 
+<p>See also <a href="#c_ms">Microsoft Extensions</a>.</p>
+
 <h5>Cygwin</h5>
 
 <p>Clang works on Cygwin-1.7.</p>





More information about the cfe-commits mailing list