Home
last modified time | relevance | path

Searched refs:CurTokenLexer (Results 1 – 12 of 12) 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/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp69 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
102 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
136 CurTokenLexer = std::move(TokLexer); in EnterMacro()
191 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
222 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
223 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
306 assert(!CurTokenLexer && in HandleEndOfFile()
549 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
553 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
558 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
[all …]
DPreprocessor.cpp188 CurTokenLexer.reset(); in ~Preprocessor()
385 else if (CurTokenLexer) in recomputeCurLexerKind()
643 CurTokenLexer->Lex(Tok); in SkipTokensWhileUsingPCH()
901 ReturnedToken = CurTokenLexer->Lex(Result); in Lex()
DPragma.cpp180 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
DPPDirectives.cpp366 !CurTokenLexer) in CheckEndOfDirective()
421 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
DPPMacroExpansion.cpp439 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()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h520 std::unique_ptr<TokenLexer> CurTokenLexer; variable
2042 std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()
2049 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2214 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()