Searched refs:CurTokenLexer (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 73 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 …]
|
D | Pragma.cpp | 116 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
|
D | Preprocessor.cpp | 293 else if (CurTokenLexer) in recomputeCurLexerKind()
|
D | PPDirectives.cpp | 189 !CurTokenLexer) in CheckEndOfDirective() 211 assert(CurTokenLexer == 0 && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
|
D | PPMacroExpansion.cpp | 162 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 234 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()
|