Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPPLexerChange.cpp143 CurPTHLexer.reset(PL); in EnterSourceFileWithPTH()
144 CurPPLexer = CurPTHLexer.get(); in EnterSourceFileWithPTH()
382 assert(CurPTHLexer && "Got EOF but no current lexer set!"); in HandleEndOfFile()
383 CurPTHLexer->getEOF(Result); in HandleEndOfFile()
384 CurPTHLexer.reset(); in HandleEndOfFile()
459 assert(CurPTHLexer && "Got EOF but no current lexer set!"); in HandleEndOfFile()
460 CurPTHLexer->getEOF(Result); in HandleEndOfFile()
461 CurPTHLexer.reset(); in HandleEndOfFile()
HDPPDirectives.cpp295 if (CurPTHLexer) { in SkipExcludedConditionalBlock()
502 assert(CurPTHLexer); in PTHSkipExcludedConditionalBlock()
503 assert(CurPTHLexer->LexingRawMode == false); in PTHSkipExcludedConditionalBlock()
506 if (CurPTHLexer->SkipBlock()) { in PTHSkipExcludedConditionalBlock()
510 bool InCond = CurPTHLexer->popConditionalLevel(CondInfo); in PTHSkipExcludedConditionalBlock()
529 PPConditionalInfo &CondInfo = CurPTHLexer->peekConditionalLevel(); in PTHSkipExcludedConditionalBlock()
538 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
540 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
550 PPConditionalInfo &CondInfo = CurPTHLexer->peekConditionalLevel(); in PTHSkipExcludedConditionalBlock()
563 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
[all …]
HDPreprocessor.cpp356 else if (CurPTHLexer) in recomputeCurLexerKind()
723 ReturnedToken = CurPTHLexer->Lex(Result); in Lex()
HDPPMacroExpansion.cpp378 else if (CurPTHLexer) in isNextPPTokenLParen()
379 Val = CurPTHLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
HDPragma.cpp368 CurPTHLexer->DiscardToEndOfLine(); in HandlePragmaMark()
/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDPreprocessor.h288 std::unique_ptr<PTHLexer> CurPTHLexer; variable
1660 CurLexerKind, CurSubmodule, std::move(CurLexer), std::move(CurPTHLexer), in PushIncludeMacroStack()
1667 CurPTHLexer = std::move(IncludeMacroStack.back().ThePTHLexer); in PopIncludeMacroStack()
1813 return !CurPPLexer && !CurTokenLexer && !CurPTHLexer && in InCachingLexMode()