llvm-project/clang/lib/Lex
Sean Callanan 8759649013 Modified the Objective-C lexer and parser (only
in debugger mode) to accept @import declarations
and pass them to the debugger.  

In the preprocessor, accept import declarations
if the debugger is enabled, but don't actually
load the module, just pass the import path on to 
the preprocessor callbacks.

In the Objective-C parser, if it sees an import
declaration in statement context (usual for LLDB),
ignore it and return a NullStmt.

llvm-svn: 223855
2014-12-09 23:47:56 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
HeaderMap.cpp Make VFS and FileManager match the current MemoryBuffer API. 2014-10-26 22:44:13 +00:00
HeaderSearch.cpp Revert "[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1." 2014-12-09 06:35:37 +00:00
Lexer.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
LiteralSupport.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
MacroArgs.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
MacroInfo.cpp Reinstate r213348, reverted in r213395, with an additional bug fix and more 2014-07-18 22:13:40 +00:00
Makefile
ModuleMap.cpp Revert "[modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1." 2014-12-09 06:35:37 +00:00
PPCaching.cpp Fix the build break introduced by r195799 by restoring two close 2013-11-27 01:40:12 +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
PPConditionalDirectiveRecord.cpp Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a 3-state enum. 2013-12-07 08:41:15 +00:00
PPDirectives.cpp Reverted r223114, it caused failure on on clang-native-arm-cortex-a9. 2014-12-02 14:52:20 +00:00
PPExpressions.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
PPLexerChange.cpp Remove superceded warning warn_forgotten_module_header 2014-11-05 16:43:18 +00:00
PPMacroExpansion.cpp Modify __has_attribute so that it only looks for GNU-style attributes. Removes the ability to look for generic attributes and keywords via this macro, which has the potential to be a breaking change. However, since there is __has_cpp_attribute and __has_declspec_attribute, and given the limited usefulness of querying a generic attribute name regardless of syntax, this seems like the correct path forward. 2014-12-05 15:24:55 +00:00
PTHLexer.cpp unique_ptrify PTHManager's PerIDCache using the newly added llvm::FreeDeleter 2014-08-29 22:04:45 +00:00
Pragma.cpp Standardize on StringMap::insert, removing uses of StringMap::GetOrCreateValue. 2014-11-19 03:06:06 +00:00
PreprocessingRecord.cpp [C++11] Use 'nullptr'. Lex edition. 2014-05-17 23:10:59 +00:00
Preprocessor.cpp Modified the Objective-C lexer and parser (only 2014-12-09 23:47:56 +00:00
PreprocessorLexer.cpp Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +00:00
ScratchBuffer.cpp unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
TokenConcatenation.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
TokenLexer.cpp Lex: Fix an invalid access into a SmallString 2014-10-25 11:40:40 +00:00
UnicodeCharSets.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00