Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp72 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
118 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
163 CurTokenLexer = std::move(TokLexer); in EnterMacro()
218 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
248 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
249 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
333 assert(!CurTokenLexer && in HandleEndOfFile()
602 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
606 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
611 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
[all …]
H A DPreprocessor.cpp181 CurTokenLexer.reset(); in ~Preprocessor()
392 else if (CurTokenLexer) in recomputeCurLexerKind()
H A DPragma.cpp181 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
H A DPPDirectives.cpp441 !CurTokenLexer) in CheckEndOfDirective()
498 assert(!CurTokenLexer && "Conditional PP block cannot appear in a macro!"); in SkipExcludedConditionalBlock()
H A DPPMacroExpansion.cpp447 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h771 std::unique_ptr<TokenLexer> CurTokenLexer; variable
2476 std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()
2483 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2690 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()
3030 return P.CurTokenLexer->Lex(Result); in CLK_TokenLexer()