hanchenye-llvm-project/clang/lib/Lex
Douglas Gregor c998409cce Remove an overly-eager assertion when replacing tokens with an
annotation token, because some of the tokens we're annotating might
not be in the set of cached tokens (we could have consumed them
unconditionally).

Also, move the tentative parsing from ParseTemplateTemplateArgument
into the one caller that needs it, improving recovery.

llvm-svn: 86904
2009-11-12 00:03:40 +00:00
..
CMakeLists.txt Lexically order files in CMakeLists.txt files. 2009-07-15 21:08:41 +00:00
HeaderMap.cpp Update location of DataTypes.h to reflect move in LLVM with r85086. 2009-10-26 01:37:10 +00:00
HeaderSearch.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Lexer.cpp Teach Lexer::MeasureTokenLength to be able to measure the 2009-10-14 15:04:18 +00:00
LiteralSupport.cpp This fixes support for complex literals, reworked to avoid a goto, and 2009-10-08 22:55:36 +00:00
MacroArgs.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
MacroArgs.h Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
MacroInfo.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
PPCaching.cpp Remove an overly-eager assertion when replacing tokens with an 2009-11-12 00:03:40 +00:00
PPDirectives.cpp Re-arranged some internal functions for coming __has_include changes. 2009-10-30 13:49:06 +00:00
PPExpressions.cpp Re-arranged some internal functions for coming __has_include changes. 2009-10-30 13:49:06 +00:00
PPLexerChange.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
PPMacroExpansion.cpp Added __has_include and __has_include_next. 2009-11-02 22:28:12 +00:00
PTHLexer.cpp Add Diagnostic::Report method for reporting diagnostics without a location. 2009-11-10 23:55:23 +00:00
Pragma.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Preprocessor.cpp Allow Preprocessor to take ownership of the HeaderSearch object. I think it should probably always own the header search object, but I'm not sure... 2009-11-11 21:44:21 +00:00
PreprocessorLexer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp Move clients to use IdentifierInfo::getNameStart() instead of getName() 2009-10-18 20:26:12 +00:00
TokenLexer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00