Home
last modified time | relevance | path

Searched refs:BacktrackPositions (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Lex/
DPPCaching.cpp27 BacktrackPositions.push_back(CachedLexPos); in EnableBacktrackAtThisPos()
33 assert(!BacktrackPositions.empty() in CommitBacktrackedTokens()
35 BacktrackPositions.pop_back(); in CommitBacktrackedTokens()
41 assert(!BacktrackPositions.empty() in Backtrack()
43 CachedLexPos = BacktrackPositions.back(); in Backtrack()
44 BacktrackPositions.pop_back(); in Backtrack()
108 assert((BacktrackPositions.empty() || BacktrackPositions.back() < i) && in AnnotatePreviousCachedTokens()
DPreprocessor.cpp146 assert(BacktrackPositions.empty() && "EnableBacktrack/Backtrack imbalance!"); in ~Preprocessor()
/external/clang/include/clang/Lex/
DPreprocessor.h633 std::vector<CachedTokensTy::size_type> BacktrackPositions; variable
1072 bool isBacktrackEnabled() const { return !BacktrackPositions.empty(); } in isBacktrackEnabled()
1168 assert(signed(CachedLexPos) - signed(N) >= signed(BacktrackPositions.back()) in RevertCachedTokens()