r176781 - www tweaks to embiggen up our near-complete C++11 and C11 support.

Richard Smith richard-llvm at metafoo.co.uk
Sat Mar 9 16:11:01 PST 2013


Author: rsmith
Date: Sat Mar  9 18:11:00 2013
New Revision: 176781

URL: http://llvm.org/viewvc/llvm-project?rev=176781&view=rev
Log:
www tweaks to embiggen up our near-complete C++11 and C11 support.

Modified:
    cfe/trunk/www/compatibility.html
    cfe/trunk/www/cxx_status.html

Modified: cfe/trunk/www/compatibility.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/compatibility.html?rev=176781&r1=176780&r2=176781&view=diff
==============================================================================
--- cfe/trunk/www/compatibility.html (original)
+++ cfe/trunk/www/compatibility.html Sat Mar  9 18:11:00 2013
@@ -19,10 +19,10 @@
 <h1>Language Compatibility</h1>
 <!-- ======================================================================= -->
 
-<p>Clang strives to both conform to current language standards (C99,
-  C++98) and also to implement many widely-used extensions available
+<p>Clang strives to both conform to current language standards (up to C11
+  and C++11) and also to implement many widely-used extensions available
   in other compilers, so that most correct code will "just work" when
-  compiler with Clang. However, Clang is more strict than other
+  compiled with Clang. However, Clang is more strict than other
   popular compilers, and may reject incorrect code that other
   compilers allow. This page documents common compatibility and
   portability issues with Clang to help you understand and fix the

Modified: cfe/trunk/www/cxx_status.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=176781&r1=176780&r2=176781&view=diff
==============================================================================
--- cfe/trunk/www/cxx_status.html (original)
+++ cfe/trunk/www/cxx_status.html Sat Mar  9 18:11:00 2013
@@ -38,9 +38,11 @@
 
   <p>Clang provides support for a number of features included in the new <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=50372">ISO C++ Standard, ISO/IEC 14882:2011</a>. The following table describes which C++11 features have been implemented in Clang and in which Clang versions they became available.</p>
 
-<p>You can use Clang in C++11 mode either
-with <a href="http://libcxx.llvm.org/">libc++</a> or with gcc's libstdc++.
-Patches are needed to make <a href="libstdc++4.4-clang0x.patch">libstdc++-4.4</a>
+<p>By default, Clang builds C++ code according to the C++98 standard, with many
+C++11 features accepted as extensions. You can use Clang in C++11 mode with the
+<code>-std=c++11</code> option. Clang's C++11 mode can be used
+with <a href="http://libcxx.llvm.org/">libc++</a> or with gcc's libstdc++, but
+patches are needed to make <a href="libstdc++4.4-clang0x.patch">libstdc++-4.4</a>
 work with Clang in C++11 mode. Patches are also needed to make
 <a href="libstdc++4.6-clang11.patch">libstdc++-4.6</a>,
 and <a href="libstdc++4.7-clang11.patch">libstdc++-4.7</a> work with Clang





More information about the cfe-commits mailing list