hanchenye-llvm-project/clang/lib/Lex
David Majnemer f2d3bc0474 Lex: Don't let annotation tokens get into macro expansion
We'd let annotation tokens from '#pragma pack' and the like get inside a
function-like macro.  This would lead to terror and mayhem; stop the
madness early.

This fixes PR22037.

llvm-svn: 224896
2014-12-28 07:42:49 +00:00
..
CMakeLists.txt
HeaderMap.cpp Make VFS and FileManager match the current MemoryBuffer API. 2014-10-26 22:44:13 +00:00
HeaderSearch.cpp [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
Lexer.cpp Lex: Don't crash if both conflict markers are on the same line 2014-12-14 04:53:11 +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
Makefile
ModuleMap.cpp Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. 2014-12-10 03:09:48 +00:00
PPCaching.cpp
PPCallbacks.cpp
PPConditionalDirectiveRecord.cpp
PPDirectives.cpp Lex: Don't let annotation tokens get into macro expansion 2014-12-28 07:42:49 +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 Preprocessor: Recover instead of mutating a token in ExpandBuiltinMacro 2014-12-15 09:03:58 +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
Preprocessor.cpp Modified the Objective-C lexer and parser (only 2014-12-09 23:47:56 +00:00
PreprocessorLexer.cpp
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 MSVC: A wide string literal from L#macro_arg in a macro 2014-12-15 04:18:11 +00:00
UnicodeCharSets.h