From 7a5898c3fe1cab3d7718804c96ee231c0682e0cb Mon Sep 17 00:00:00 2001
From: Richard Smith
Date: Mon, 28 Nov 2011 20:02:05 +0000
Subject: Add a release notes section on new C++11 language features, and flesh
it out.
llvm-svn: 145268
---
clang/docs/ReleaseNotes.html | 45 ++++++++++++++++++++++++++++++++++----------
1 file changed, 35 insertions(+), 10 deletions(-)
(limited to 'clang/docs/ReleaseNotes.html')
diff --git a/clang/docs/ReleaseNotes.html b/clang/docs/ReleaseNotes.html
index 6dc0f54cb20..a171bbf4a30 100644
--- a/clang/docs/ReleaseNotes.html
+++ b/clang/docs/ReleaseNotes.html
@@ -29,6 +29,7 @@ td {
C++ Language Changes
Objective-C Language Changes
Internal API Changes
+
Known Problems
Additional Information
@@ -94,7 +95,6 @@ prose in a section of its own. When doing that, delete the notes.
Compiling C/C++ w/ MinGW (32/64) and Cygwin on Windows -- chapuni
C++ -- Parsing and AST support for Windows Structured Exception
Handling.
- C++11 -- noexcept (Sebastian Redl)
Uninitialized values Clang warning rewrite -- more accurate, faster, able
to differentiate between the possibility of an uninitialized use and the
certainty of an uninitialized use.
@@ -107,7 +107,6 @@ prose in a section of its own. When doing that, delete the notes.
compiler crashes -- Chad
OS Availability attribute -- r128127
GNU ObjectiveC Runtime support -- David Chisnall
- C++11 -- override
Diagnostic improvements bucket?
- Emitting fewer include stacks
@@ -136,16 +135,11 @@ prose in a section of its own. When doing that, delete the notes.
information for LLDB and other clients which dynamically build AST nodes.
Largely complete MSVC-compatible parsing mode -- fpichet
C1X -- static asserts and generic selections
- C++11 -- alias declarations -- zygoloid
- C++11 -- range-based-for loops -- zygoloid
- C++11 -- nullptr -- zygoloid
- C++11 -- in-class init -- zygoloid
- C++11 -- raw string literals -- zygoloid
- C++11 -- delegating ctors -- zygoloid/scshunt
Memory reduction -- initializers, macro expansions, source locations,
etc.
- Full set of type traits, sufficient to support C++11 standard libraries;
- also expression traits.
+ The Embarcadero
+ __is_lvalue_expr and
+ __is_rvalue_expr expression traits.
CFI-based debug info -- nlewycky/espindola details
ObjC ARC -- get a blurb from rjmccall
ObjC related result type/instancetype
@@ -188,6 +182,37 @@ Several enhancements were made to the PPCallbacks interface to expa
C++ Language Changes in Clang
+C++11 Feature Support
+
+Clang 3.0 adds support for
+more of the language
+features added in the latest ISO C++ standard, C++11. Use
+-std=c++11 or -std=gnu++11 to enable support for these
+features. The following are now considered to be of production quality:
+
+ - Range-based for loops
+ - Alias declarations (a new syntax for typedef declarations),
+ including their template forms
+ - Specifying default values for class data members within a class
+ definition
+ - Constructors delegating to other constructors of the same class
+ - The override context-sensitive keyword for virtual member
+ function declarations
+ - Explicitly generating default function definitions with = default
+
+ - The nullptr keyword, and the corresponding type
+ - Raw string literals with arbitary delimiters (for instance,
+ R"delim(str"ing)delim")
+ - Unicode string literals (for instance, U"\u1234") and the
+ char16_t and char32_t built-in types
+
- noexcept expressions and the noexcept specifier on
+ function declarations
+ - alignof expressions and the alignas specifier on
+ variable declarations
+ - A full set of type traits,
+ sufficient to support C++11 standard libraries
+
+
Objective-C Language Changes in Clang
--
cgit v1.2.3