hanchenye-llvm-project/clang/lib/Lex
Chris Lattner 933d5ffc11 Optimize stringification a bit to avoid std::string thrashing and
avoid the version of Preprocessor::getSpelling that returns an 
std::string.

llvm-svn: 61769
2009-01-05 23:04:18 +00:00
..
CMakeLists.txt CMake: Added some source files. 2008-11-19 18:46:39 +00:00
HeaderMap.cpp Initialize Suffix and Prefix to 0, even with a bad entry. Removes an uninitialized value warning from gcc. 2008-10-28 00:18:42 +00:00
HeaderSearch.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
Lexer.cpp rdar://6060752 - don't warn about trigraphs in bcpl-style comments 2008-12-12 07:34:39 +00:00
LiteralSupport.cpp Fix a weird inconsistency with hex floats. Previously the lexer 2008-11-22 07:39:03 +00:00
MacroArgs.cpp Optimize stringification a bit to avoid std::string thrashing and 2009-01-05 23:04:18 +00:00
MacroArgs.h Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
MacroInfo.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
PPCaching.cpp Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). 2008-11-19 14:23:14 +00:00
PPDirectives.cpp PTH: 2008-12-23 01:30:52 +00:00
PPExpressions.cpp make the 'to match this' diagnostic a note. 2008-11-23 23:17:07 +00:00
PPLexerChange.cpp Remove old PTH token-generation test harness. 2008-12-23 19:25:33 +00:00
PPMacroExpansion.cpp Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead using new/delete. This speeds up -Eonly on Cocoa.h using the regular lexer by 1.8% and the PTHLexer by 3%. 2008-12-15 19:56:42 +00:00
PTHLexer.cpp PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change. 2008-12-23 19:24:24 +00:00
Pragma.cpp Just use the SourceLocation of SysHeaderTok when doing a callback to emit #line 2008-11-20 01:45:11 +00:00
Preprocessor.cpp simplify Preprocessor::getSpelling now that identifiers carry around 2009-01-05 19:44:41 +00:00
PreprocessorLexer.cpp remove a sneaky version of Diag hiding in PreprocessorLexer. 2008-11-22 06:20:42 +00:00
ScratchBuffer.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
TokenLexer.cpp Remove the last of the old-style Preprocessor::Diag methods. 2008-11-18 21:48:13 +00:00