Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp74 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
115 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
140 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithPTH()
174 CurTokenLexer = std::move(TokLexer); in EnterMacro()
226 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
257 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
258 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
296 assert(!CurTokenLexer && in HandleEndOfFile()
524 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
528 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
[all …]
DPreprocessor.cpp160 CurTokenLexer.reset(); in ~Preprocessor()
366 else if (CurTokenLexer) in recomputeCurLexerKind()
734 ReturnedToken = CurTokenLexer->Lex(Result); in Lex()
DPragma.cpp120 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
DPPDirectives.cpp351 !CurTokenLexer) in CheckEndOfDirective()
371 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
DPPMacroExpansion.cpp385 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h308 std::unique_ptr<TokenLexer> CurTokenLexer; variable
1694 CurPPLexer, std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()
1702 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1850 return !CurPPLexer && !CurTokenLexer && !CurPTHLexer && in InCachingLexMode()