Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp71 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
111 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
156 CurTokenLexer = std::move(TokLexer); in EnterMacro()
211 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
241 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
242 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
326 assert(!CurTokenLexer && in HandleEndOfFile()
595 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
599 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
604 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
[all …]
H A DPreprocessor.cpp179 CurTokenLexer.reset(); in ~Preprocessor()
390 else if (CurTokenLexer) in recomputeCurLexerKind()
H A DPragma.cpp177 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
H A DPPDirectives.cpp467 !CurTokenLexer) in CheckEndOfDirective()
524 assert(!CurTokenLexer && "Conditional PP block cannot appear in a macro!"); in SkipExcludedConditionalBlock()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h795 std::unique_ptr<TokenLexer> CurTokenLexer; variable
2316 Val = CurTokenLexer->peekNextPPToken(); in isNextPPTokenOneOf()
2551 std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()
2558 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2782 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()
3109 return P.CurTokenLexer->Lex(Result); in CLK_TokenLexer()