diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-28 22:48:25 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-28 22:48:25 +0000 |
commit | 62d730fcf9df97d8d2db84a12404172e0a1afd69 (patch) | |
tree | 693b7c352f139c01c153afc6a1b205633a0ada35 | |
parent | 9a1671277f41310dbb67824e32bd964a08a1f429 (diff) |
Add a release notes section for C1X language features supported by clang 3.0.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145305 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/ReleaseNotes.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 5283bc76f8..a0713b39d8 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -104,7 +104,6 @@ prose in a section of its own. When doing that, delete the notes.</p> <li>Improved AST support for partially constructed nodes and incomplete information for LLDB and other clients which dynamically build AST nodes.</li> <li>Largely complete MSVC-compatible parsing mode -- fpichet</li> - <li>C1X -- static asserts and generic selections</li> <li>Memory reduction -- initializers, macro expansions, source locations, etc.</li> <li>The Embarcadero @@ -202,6 +201,17 @@ Clang has some (limited) support for compiling OpenCL. <h3 id="cchanges">C Language Changes in Clang</h3> <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --> +<h4 id="c1xchanges">C1X Feature Support</h4> + +<p>Clang 3.0 adds support for the +<a href="http://clang.llvm.org/docs/LanguageExtensions.html#c1x"> +<code>_Alignas</code>, <code>_Generic</code>, and <code>_Static_assert</code> +keywords</a>, drafted for inclusion in the next C standard, which is +provisionally known as C1X. Use <code>-std=c1x</code> or <code>-std=gnu1x</code> +to enable support for the new language standard. These features are +backwards-compatible and are available as an extension in all language +modes.</p> + <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --> <h3 id="cxxchanges">C++ Language Changes in Clang</h3> <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --> |