llvm-project/clang/lib/Lex
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 Update the CMake build for r146959's new files. 2011-12-20 08:42:15 +00:00
HeaderMap.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
HeaderSearch.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
Lexer.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
LiteralSupport.cpp Lexing support for user-defined literals. Currently these lex as the same token 2012-03-05 04:02:15 +00:00
MacroArgs.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
MacroArgs.h Fixed exapnsion range for # and ##. 2011-10-03 18:39:03 +00:00
MacroInfo.cpp For modules, all macros that aren't include guards are implicitly 2011-10-17 15:32:29 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ModuleMap.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
PPCaching.cpp Don't treat 'import' as a contextual keyword when we're in a caching lexer, or when modules are disabled. 2012-01-04 06:20:15 +00:00
PPCallbacks.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
PPDirectives.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
PPExpressions.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
PPLexerChange.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
PPMacroExpansion.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
PTHLexer.cpp Basic: import OwningPtr<> into clang namespace 2012-02-05 02:12:40 +00:00
Pragma.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
PreprocessingRecord.cpp [preprocessor] Enhance PreprocessingRecord to keep track of locations of conditional directives. 2012-03-05 05:48:17 +00:00
Preprocessor.cpp [preprocessor] Enhance PreprocessingRecord to keep track of locations of conditional directives. 2012-03-05 05:48:17 +00:00
PreprocessorLexer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
ScratchBuffer.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
TokenConcatenation.cpp User-defined literals: reject string and character UDLs in all places where the 2012-03-06 03:21:47 +00:00
TokenLexer.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00