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.cpp142 assert(BacktrackPositions.empty() && "EnableBacktrack/Backtrack imbalance!"); in ~Preprocessor()
/external/clang/include/clang/Lex/
DPreprocessor.h449 std::vector<CachedTokensTy::size_type> BacktrackPositions; variable
802 bool isBacktrackEnabled() const { return !BacktrackPositions.empty(); } in isBacktrackEnabled()
892 assert(signed(CachedLexPos) - signed(N) >= signed(BacktrackPositions.back()) in RevertCachedTokens()