llvm-project/clang/lib/Lex
Chris Lattner 9dc9c206d3 track "just a little more" location information for macro instantiations.
Now instead of just tracking the expansion history, also track the full
range of the macro that got replaced.  For object-like macros, this doesn't
change anything.  For _Pragma and function-like macros, this means we track
the locations of the ')'.

This is required for PR3579 because apparently GCC uses the line of the ')'
of a function-like macro as the location to expand __LINE__ to.

llvm-svn: 64601
2009-02-15 20:52:18 +00:00
..
CMakeLists.txt Fix cmake builds. 2009-02-13 15:42:50 +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 track "just a little more" location information for macro instantiations. 2009-02-15 20:52:18 +00:00
LiteralSupport.cpp move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +00:00
MacroArgs.cpp move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +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 This change refactors some of the low-level lexer interfaces a bit. 2009-01-26 19:29:26 +00:00
PPDirectives.cpp Fix PR3464 by searching for headers from the predefines 2009-02-04 19:45:07 +00:00
PPExpressions.cpp move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +00:00
PPLexerChange.cpp track "just a little more" location information for macro instantiations. 2009-02-15 20:52:18 +00:00
PPMacroExpansion.cpp track "just a little more" location information for macro instantiations. 2009-02-15 20:52:18 +00:00
PTHLexer.cpp PTH: Cache directory and negative 'stat' calls. This gives us a 1% performance improvement on Cocoa.h (fsyntax-only+PTH). 2009-02-13 22:07:44 +00:00
Pragma.cpp track "just a little more" location information for macro instantiations. 2009-02-15 20:52:18 +00:00
Preprocessor.cpp track "just a little more" location information for macro instantiations. 2009-02-15 20:52:18 +00:00
PreprocessorLexer.cpp move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +00:00
ScratchBuffer.cpp This change refactors some of the low-level lexer interfaces a bit. 2009-01-26 19:29:26 +00:00
TokenConcatenation.cpp factor token concatenation avoidance logic out of 2009-02-13 00:46:04 +00:00
TokenLexer.cpp track "just a little more" location information for macro instantiations. 2009-02-15 20:52:18 +00:00