llvm-project/clang/lib/Parse
Ted Kremenek e65b086e07 Add clang support for new Objective-C literal syntax for NSDictionary, NSArray,
NSNumber, and boolean literals.  This includes both Sema and Codegen support.
Included is also support for new Objective-C container subscripting.

My apologies for the large patch.  It was very difficult to break apart.
The patch introduces changes to the driver as well to cause clang to link
in additional runtime support when needed to support the new language features.

Docs are forthcoming to document the implementation and behavior of these features.

llvm-svn: 152137
2012-03-06 20:05:56 +00:00
..
CMakeLists.txt Thread Safety: Patch to implement delayed parsing of attributes within a 2011-09-08 17:42:22 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp AST/stats: Don't effectively use an out-of-line function to return a static 2012-03-05 21:42:49 +00:00
ParseCXXInlineMethods.cpp Improve diagnostics a bit for bad member initializers, and fix an obscure bug involving packs. Fixes PR12049. 2012-02-22 04:49:04 +00:00
ParseDecl.cpp Issue warning when late-parsed attributes have no declaration. 2012-03-02 22:29:50 +00:00
ParseDeclCXX.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
ParseExpr.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
ParseExprCXX.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
ParseInit.cpp De-nest tentative parsing to disambiguate lambdas from designators; no 2012-02-17 16:41:16 +00:00
ParseObjc.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
ParsePragma.cpp Parse: Change PragmaPackHandler to use the preprocessor allocator. 2012-02-29 01:38:22 +00:00
ParsePragma.h Implement #pragma redefine_extname. 2012-02-18 16:12:34 +00:00
ParseStmt.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
ParseTemplate.cpp In -fdelayed-template-parsing mode, reenter every scope when late parsing a templated function; (Not just the template parameter scope as previously). Also enter the scope stack in the correct order. 2012-02-22 08:25:53 +00:00
ParseTentative.cpp Implement a new type trait __is_trivially_constructible(T, Args...) 2012-02-24 07:38:34 +00:00
Parser.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
RAIIObjectsForParser.h Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00