From: Richard Smith
Date: Mon, 28 Nov 2011 22:48:25 +0000 (+0000)
Subject: Add a release notes section for C1X language features supported by clang 3.0.
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62d730fcf9df97d8d2db84a12404172e0a1afd69;p=clang
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
---
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.
Improved AST support for partially constructed nodes and incomplete
information for LLDB and other clients which dynamically build AST nodes.
Largely complete MSVC-compatible parsing mode -- fpichet
- C1X -- static asserts and generic selections
Memory reduction -- initializers, macro expansions, source locations,
etc.
The Embarcadero
@@ -202,6 +201,17 @@ Clang has some (limited) support for compiling OpenCL.
C Language Changes in Clang
+C1X Feature Support
+
+Clang 3.0 adds support for the
+
+_Alignas
, _Generic
, and _Static_assert
+keywords, drafted for inclusion in the next C standard, which is
+provisionally known as C1X. Use -std=c1x
or -std=gnu1x
+to enable support for the new language standard. These features are
+backwards-compatible and are available as an extension in all language
+modes.
+
C++ Language Changes in Clang