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()
146 assert(BacktrackPositions.empty() && "EnableBacktrack/Backtrack imbalance!"); in ~Preprocessor()
633 std::vector<CachedTokensTy::size_type> BacktrackPositions; variable1072 bool isBacktrackEnabled() const { return !BacktrackPositions.empty(); } in isBacktrackEnabled()1168 assert(signed(CachedLexPos) - signed(N) >= signed(BacktrackPositions.back()) in RevertCachedTokens()