Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPLexerChange.cpp106 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
140 CurTokenLexer = std::move(TokLexer); in EnterMacro()
192 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
223 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
224 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
305 assert(!CurTokenLexer && in HandleEndOfFile()
544 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
553 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
567 if (CurTokenLexer) { in RemoveTopOfLexerStack()
570 CurTokenLexer.reset(); in RemoveTopOfLexerStack()
[all …]
H A DPreprocessor.cpp178 CurTokenLexer.reset(); in ~Preprocessor()
375 else if (CurTokenLexer) in recomputeCurLexerKind()
872 ReturnedToken = CurTokenLexer->Lex(Result); in Lex()
H A DPragma.cpp143 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
H A DPPDirectives.cpp356 !CurTokenLexer) in CheckEndOfDirective()
377 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
H A DPPMacroExpansion.cpp432 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h412 std::unique_ptr<TokenLexer> CurTokenLexer; variable
1903 std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()
1910 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2072 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()