Home
last modified time | relevance | path

Searched refs:BacktrackPositions (Results 1 – 6 of 6) 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/llvm-project/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()
127 assert((BacktrackPositions.empty() || BacktrackPositions.back() <= i) && in AnnotatePreviousCachedTokens()
DPreprocessor.cpp174 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()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h872 std::vector<CachedTokensTy::size_type> BacktrackPositions; variable
1401 bool isBacktrackEnabled() const { return !BacktrackPositions.empty(); } in isBacktrackEnabled()
1502 assert(signed(CachedLexPos) - signed(N) >= signed(BacktrackPositions.back()) in RevertCachedTokens()