Home
last modified time | relevance | path

Searched refs:CurTokenLexer (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Lex/
DPPLexerChange.cpp73 assert(CurTokenLexer == 0 && "Cannot #include a file inside a macro!"); in EnterSourceFile()
114 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
138 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithPTH()
165 CurTokenLexer.reset(new TokenLexer(Tok, ILEnd, Macro, Args, *this)); in EnterMacro()
167 CurTokenLexer.reset(TokenLexerCache[--NumCachedTokenLexers]); in EnterMacro()
168 CurTokenLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
195 CurTokenLexer.reset(new TokenLexer(Toks, NumToks, DisableMacroExpansion, in EnterTokenStream()
198 CurTokenLexer.reset(TokenLexerCache[--NumCachedTokenLexers]); in EnterTokenStream()
199 CurTokenLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
234 assert(!CurTokenLexer && in HandleEndOfFile()
[all …]
DPragma.cpp116 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
DPreprocessor.cpp293 else if (CurTokenLexer) in recomputeCurLexerKind()
DPPDirectives.cpp189 !CurTokenLexer) in CheckEndOfDirective()
211 assert(CurTokenLexer == 0 && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
DPPMacroExpansion.cpp162 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h234 OwningPtr<TokenLexer> CurTokenLexer; variable
627 case CLK_TokenLexer: CurTokenLexer->Lex(Result); break; in Lex()
1142 CurTokenLexer.take(), in PushIncludeMacroStack()
1151 CurTokenLexer.reset(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1271 return CurPPLexer == 0 && CurTokenLexer == 0 && CurPTHLexer == 0 && in InCachingLexMode()