aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-10 13:15:22 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-10 13:15:22 +0000
commitb3dd1e0889fa8d41ed30620b37800d58228cba94 (patch)
tree79cb1e9aadf9aae3d0f1eb33175749086cd3ff82 /clang/lib/Basic/SourceManager.cpp
parent07bb087ac1aa5075081d93be440d74d5ddda0d6a (diff)
downloadllvm-b3dd1e0889fa8d41ed30620b37800d58228cba94.zip
llvm-b3dd1e0889fa8d41ed30620b37800d58228cba94.tar.gz
llvm-b3dd1e0889fa8d41ed30620b37800d58228cba94.tar.bz2
Allow the preprocessor to cache the lexed tokens, so that we can do efficient lookahead and backtracking.
1) New public methods added: -EnableBacktrackAtThisPos -DisableBacktrack -Backtrack -isBacktrackEnabled 2) LookAhead() implementation is replaced with a more efficient one. 3) LookNext() is removed. llvm-svn: 54611
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions