diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-10 13:15:22 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-10 13:15:22 +0000 |
commit | b3dd1e0889fa8d41ed30620b37800d58228cba94 (patch) | |
tree | 79cb1e9aadf9aae3d0f1eb33175749086cd3ff82 /clang/lib/Basic/SourceManager.cpp | |
parent | 07bb087ac1aa5075081d93be440d74d5ddda0d6a (diff) | |
download | llvm-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