From owner-svn-src-all@FreeBSD.ORG Wed May 23 21:39:14 2012
Return-Path:
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
by hub.freebsd.org (Postfix) with ESMTP id 65F8A10657A7;
Wed, 23 May 2012 21:39:14 +0000 (UTC) (envelope-from dim@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c])
by mx1.freebsd.org (Postfix) with ESMTP id 3FE3E8FC20;
Wed, 23 May 2012 21:39:14 +0000 (UTC)
Received: from svn.freebsd.org (localhost [127.0.0.1])
by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4NLdDS8096897;
Wed, 23 May 2012 21:39:13 GMT (envelope-from dim@svn.freebsd.org)
Received: (from dim@localhost)
by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4NLdDt0096894;
Wed, 23 May 2012 21:39:13 GMT (envelope-from dim@svn.freebsd.org)
Message-Id: <201205232139.q4NLdDt0096894@svn.freebsd.org>
From: Dimitry Andric
Date: Wed, 23 May 2012 21:39:13 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
svn-src-vendor@freebsd.org
X-SVN-Group: vendor
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc:
Subject: svn commit: r235862 - in vendor/clang/dist: docs lib/Basic
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for "
user" and " projects" \)"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 23 May 2012 21:39:14 -0000
Author: dim
Date: Wed May 23 21:39:13 2012
New Revision: 235862
URL: http://svn.freebsd.org/changeset/base/235862
Log:
Vendor import of clang release_31 r156863 (the actual 3.1 release):
http://llvm.org/svn/llvm-project/cfe/branches/release_31@156863
Modified:
vendor/clang/dist/docs/ReleaseNotes.html
vendor/clang/dist/lib/Basic/Version.cpp
Modified: vendor/clang/dist/docs/ReleaseNotes.html
==============================================================================
--- vendor/clang/dist/docs/ReleaseNotes.html Wed May 23 21:38:26 2012 (r235861)
+++ vendor/clang/dist/docs/ReleaseNotes.html Wed May 23 21:39:13 2012 (r235862)
@@ -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
@@ -79,25 +71,6 @@ are described first, followed by languag
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 pr
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