Lines Matching full:preprocessor
9 // This file implements pieces of the Preprocessor interface that manage the
14 #include "clang/Lex/Preprocessor.h"
17 std::pair<Preprocessor::CachedTokensTy::size_type, bool>
18 Preprocessor::LastBacktrackPos() { in LastBacktrackPos()
27 // until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor
29 // make the Preprocessor re-lex the same tokens.
34 void Preprocessor::EnableBacktrackAtThisPos(bool Unannotated) { in EnableBacktrackAtThisPos()
42 Preprocessor::CachedTokensTy Preprocessor::PopUnannotatedBacktrackTokens() { in PopUnannotatedBacktrackTokens()
56 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens()
64 // Make Preprocessor re-lex the tokens that were lexed since
66 void Preprocessor::Backtrack() { in Backtrack()
76 void Preprocessor::CachingLex(Token &Result) { in CachingLex()
82 "should not use token caching within the preprocessor"); in CachingLex()
112 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode()
128 void Preprocessor::EnterCachingLexModeUnchecked() { in EnterCachingLexModeUnchecked()
135 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead()
148 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens()
171 bool Preprocessor::IsPreviousCachedToken(const Token &Tok) const { in IsPreviousCachedToken()
189 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken()