Searched refs:BacktrackPositions (Results 1 – 3 of 3) sorted by relevance
27 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()
142 assert(BacktrackPositions.empty() && "EnableBacktrack/Backtrack imbalance!"); in ~Preprocessor()
449 std::vector<CachedTokensTy::size_type> BacktrackPositions; variable802 bool isBacktrackEnabled() const { return !BacktrackPositions.empty(); } in isBacktrackEnabled()892 assert(signed(CachedLexPos) - signed(N) >= signed(BacktrackPositions.back()) in RevertCachedTokens()