aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PTHLexer.cpp
AgeCommit message (Expand)Author
2009-01-09Enhance PTH 'getSpelling' caching:Ted Kremenek
2009-01-09Invert assertion condition.Ted Kremenek
2009-01-08PTH: Hook up getSpelling() caching in PTHLexer. This results in a niceTed Kremenek
2009-01-08PTH:Ted Kremenek
2008-12-23PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No...Ted Kremenek
2008-12-23PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token.Ted Kremenek
2008-12-23Cosmetics: rename a variable and tighten spacing. No functionality change.Ted Kremenek
2008-12-23PTH:Ted Kremenek
2008-12-23PTH:Ted Kremenek
2008-12-23PTH:Ted Kremenek
2008-12-18Use '&' to test StartOfLine flag.Ted Kremenek
2008-12-17Rewrite PTHLexer::DiscardToEndOfLine() to not use GetToken and instead only r...Ted Kremenek
2008-12-17Change PTHLexer::getSourceLocation() to not call GetToken() and instead just ...Ted Kremenek
2008-12-17add a dropped word backChris Lattner
2008-12-17Shadow CurPtr with a local variable in ReadToken.Ted Kremenek
2008-12-12PTH: Added minor 'sibling jumping' optimization for iterating over the side t...Ted Kremenek
2008-12-12Added PTH optimization to not process entire blocks of tokens that appear in ...Ted Kremenek
2008-12-11PTH:Ted Kremenek
2008-12-11PTHLexer: Keep track of the location of the last '#' token and provide the me...Ted Kremenek
2008-12-11Remove unused ivar CurTokenIdx.Ted Kremenek
2008-12-10Declare PerIDCache as IdentifierInfo** instead of void*. This is just cleane...Ted Kremenek
2008-12-04Remove unneeded assertion.Ted Kremenek
2008-12-04Use 'free' to release PerIDCache since it was allocated using calloc().Ted Kremenek
2008-12-03PTH:Ted Kremenek
2008-12-03- Remove PTHManager.cpp. Move all of its functions to PTHLexer.cpp since som...Ted Kremenek
2008-11-27PTHLexer now owns the Token vector.Ted Kremenek
2008-11-21In PTHLexer::DiscardToEndOfLine() use Lex() instead of AdvanceToken(). This ...Ted Kremenek
2008-11-21PTHLexer:Ted Kremenek
2008-11-20PTHLexer:Ted Kremenek
2008-11-20PTHLexer:Ted Kremenek
2008-11-20Rewrote PTHLexer::Lex by digging through the sources of Lexer again. Now we ...Ted Kremenek
2008-11-20- Default initialize ParsingPreprocessorDirective, ParsingFilename, andTed Kremenek
2008-11-20Add (untested) implementation of PTHLexer::isNextPPTokenLParen() and PTHLexer...Ted Kremenek
2008-11-19Add stub for PTHLexer::isNextPPTokenLParen().Ted Kremenek
2008-11-19When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine().Ted Kremenek
2008-11-19- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.Ted Kremenek
2008-11-16Trivial tidyingChris Lattner
2008-11-12Move some diagnostic handling to PreprocessorLexer.Ted Kremenek
2008-11-12Add skeleton for PTH lexer.Ted Kremenek