diff --git a/clang/www/compatibility.html b/clang/www/compatibility.html index de864eda4f72..8bfaff191cb5 100644 --- a/clang/www/compatibility.html +++ b/clang/www/compatibility.html @@ -19,10 +19,10 @@
Clang strives to both conform to current language standards (C99, - C++98) and also to implement many widely-used extensions available +
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 diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index 1c23ff356aaa..f063ca9a2566 100644 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -38,9 +38,11 @@
Clang provides support for a number of features included in the new ISO C++ Standard, ISO/IEC 14882:2011. The following table describes which C++11 features have been implemented in Clang and in which Clang versions they became available.
-You can use Clang in C++11 mode either -with libc++ or with gcc's libstdc++. -Patches are needed to make libstdc++-4.4 +
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
+-std=c++11
option. Clang's C++11 mode can be used
+with libc++ or with gcc's libstdc++, but
+patches are needed to make libstdc++-4.4
work with Clang in C++11 mode. Patches are also needed to make
libstdc++-4.6,
and libstdc++-4.7 work with Clang