Skip to content
Commit b3dd1e08 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

Allow the preprocessor to cache the lexed tokens, so that we can do efficient...

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
parent 07bb087a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment