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 && "Cannot #include a file inside a macro!"); in EnterSourceFile()
114 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
139 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithPTH()
173 CurTokenLexer = std::move(TokLexer); in EnterMacro()
225 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
256 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
257 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
295 assert(!CurTokenLexer && in HandleEndOfFile()
510 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
514 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
[all …]
DPreprocessor.cpp156 CurTokenLexer.reset(); in ~Preprocessor()
349 else if (CurTokenLexer) in recomputeCurLexerKind()
698 ReturnedToken = CurTokenLexer->Lex(Result); in Lex()
DPragma.cpp119 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
DPPDirectives.cpp278 !CurTokenLexer) in CheckEndOfDirective()
300 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
DPPMacroExpansion.cpp190 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h301 std::unique_ptr<TokenLexer> CurTokenLexer; variable
1392 CurPPLexer, std::move(CurTokenLexer), CurDirLookup)); in PushIncludeMacroStack()
1400 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1542 return !CurPPLexer && !CurTokenLexer && !CurPTHLexer && in InCachingLexMode()