From 41e20f564abdb05101d6b2b29c59459a966c22cc Mon Sep 17 00:00:00 2001
From: Dimitry Andric
Date: Wed, 23 May 2012 21:39:13 +0000
Subject: [PATCH] Vendor import of clang release_31 r156863 (the actual 3.1
release): http://llvm.org/svn/llvm-project/cfe/branches/release_31@156863
---
docs/ReleaseNotes.html | 88 +++++++++++++++++-------------------------
lib/Basic/Version.cpp | 2 +-
2 files changed, 37 insertions(+), 53 deletions(-)
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index f49f7f851902..8367b8a7dd76 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -26,14 +26,12 @@ td {
Introduction
What's New in Clang 3.1?
- Known Problems
Additional Information
@@ -41,12 +39,6 @@ td {
Written by the LLVM Team
-These are in-progress notes for the upcoming Clang 3.1
-release.
-You may prefer the
-Clang 3.0
-Release Notes.
-
Introduction
@@ -78,25 +70,6 @@ Generic improvements to Clang as a whole or two its underlying infrastructure
are described first, followed by language-specific sections with improvements to
Clang's support for those languages.
-
-Major New Features
-
-
-Feature 1
-...
-
-New and better diagnostics
-
-New: -Wdangling-else
, -Wstrncat-size
, ...
-
-Improved: -Wformat
, -Wempty-body
,
--Wliteral-conversion
, ...
-
-
-
-Added an API to enable clang-based standalone tools, including initial build
-system integration.
-
C Language Changes in Clang
@@ -141,24 +114,47 @@ following are now considered to be of production quality:
Clang 3.1 introduces several new Objective-C language features and improvements.
+Objective-C literals and subscripting
+
+
Objective-C now provides additional literal expressions, including numeric, array, and dictionary literals. Additionally, array and dictionary elements can be accesses via the subscripting operator. For more information about the new literals, see the documentation for Objective-C literals and subscripting.
+
--Wformat
now checks @"nsstring literals"
.
+-Wformat
now checks @"NSString literals"
.
-Internal API Changes
+Python Binding Changes
-These are major API changes that have happened since the 3.0 release of Clang.
-If upgrading an external codebase that uses Clang as a library, this section
-should help get you past the largest hurdles of upgrading.
-
-API change 1
-...
-
-
-Significant Known Problems
-
+The following methods have been added:
+
+ - SourceLocation.from_position (static)
+ - SourceLocation.__eq__ and SourceLocation.__ne__
+ - SourceRange.__eq__ and SourceRange.__ne__
+ - Diagnostic.category_number (property)
+ - Diagnostic.category_name (property)
+ - Diagnostic.option (property)
+ - Diagnostic.disable_option (property)
+ - CursorKind.is_translation_unit
+ - CursorKind.is_preprocessing
+ - CursorKind.is_unexposed
+ - Cursor.from_location (static)
+ - Cursor.underlying_typedef_type (property)
+ - Cursor.enum_type (property)
+ - Cursor.objc_type_encoding (property)
+ - Cursor.hash
+ - TypeKind.spelling
+ - Type.argument_types
+ - Type.element_type (property)
+ - Type.element_count (property)
+ - Type.is_function_variadic
+ - Type.is_pod
+ - Type.get_array_element_type
+ - Type.get_array_size
+ - Type.__eq__ and Type.__ne__
+ - File.from_name (static)
+ - File.__str__ and File.__repr__
+
Additional Information
@@ -176,18 +172,6 @@ contact us via the
mailing list.
-
-
-
-
-