llvm-project/clang/Lex
Chris Lattner d01e291332 Make a fundamental change to the way we represent the location of LexerToken's.
Now, instead of keeping a pointer to the start of the token in memory, we keep the
start of the token as a SourceLocation node.  This means that each LexerToken knows
the full include stack it was created with, and means that the LexerToken isn't
reliant on a "CurLexer" member to be around (lexer tokens would previously go out of
scope when their lexers were deallocated).

This simplifies several things, and forces good cleanup elsewhere.  Now the
Preprocessor is the one that knows how to dump tokens/macros and is the one that
knows how to get the spelling of a token (it has all the context).

llvm-svn: 38551
2006-06-18 16:22:51 +00:00
..
IdentifierTable.cpp Initial checkin of c-language parser 2006-06-18 05:43:12 +00:00
Lexer.cpp Make a fundamental change to the way we represent the location of LexerToken's. 2006-06-18 16:22:51 +00:00
MacroExpander.cpp Make a fundamental change to the way we represent the location of LexerToken's. 2006-06-18 16:22:51 +00:00
MacroInfo.cpp Make a fundamental change to the way we represent the location of LexerToken's. 2006-06-18 16:22:51 +00:00
Makefile Initial checkin of c-language parser 2006-06-18 05:43:12 +00:00
PPExpressions.cpp Make a fundamental change to the way we represent the location of LexerToken's. 2006-06-18 16:22:51 +00:00
Preprocessor.cpp Make a fundamental change to the way we represent the location of LexerToken's. 2006-06-18 16:22:51 +00:00