Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp121 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()
252 if (CurLexer) { in PropagateLineStartLeadingSpaceInfo()
268 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
357 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
415 !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()
427 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()
451 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
452 CurLexer.reset(); in HandleEndOfFile()
489 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
542 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
[all …]
H A DPPDirectives.cpp532 PP.CurLexer->seek(PP.CurLexer->getCurrentBufferOffset() + *SkipRangePtr, in SkipExcludedConditionalBlock()
560 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
595 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()
609 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
625 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
642 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
841 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
1135 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()
2012 CurLexer->cutOffLexing(); in HandleIncludeDirective()
2338 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
[all …]
H A DPragma.cpp436 CurLexer->ReadToEndOfLine(&Buffer); in HandlePragmaMark()
821 CurLexer->LexingRawMode = true; in HandlePragmaModuleBuild()
827 CurLexer->Lex(Tok); in HandlePragmaModuleBuild()
836 End = CurLexer->getBufferLocation(); in HandlePragmaModuleBuild()
837 CurLexer->Lex(Tok); in HandlePragmaModuleBuild()
852 CurLexer->Lex(Tok); in HandlePragmaModuleBuild()
869 CurLexer->LexingRawMode = false; in HandlePragmaModuleBuild()
873 Start <= CurLexer->getBuffer().end() && in HandlePragmaModuleBuild()
875 End <= CurLexer->getBuffer().end() && in HandlePragmaModuleBuild()
905 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
[all …]
H A DPreprocessor.cpp384 if (CurLexer) in recomputeCurLexerKind()
385 CurLexerCallback = CurLexer->isDependencyDirectivesLexer() in recomputeCurLexerKind()
559 CurLexer->SetByteOffset(SkipMainFilePreamble.first, in EnterMainSourceFile()
645 (CurLexer && CurLexer->getFileID() == getPredefinesFileID()); in SkipTokensWhileUsingPCH()
1233 CurLexer->cutOffLexing(); in LexAfterModuleImport()
H A DPPMacroExpansion.cpp443 if (CurLexer) in isNextPPTokenLParen()
444 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h733 std::unique_ptr<Lexer> CurLexer; variable
2431 std::move(CurLexer), CurPPLexer, in PushIncludeMacroStack()
2437 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2615 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()
2914 return P.CurLexer->Lex(Result); in CLK_Lexer()
2924 return P.CurLexer->LexDependencyDirectiveToken(Result); in CLK_DependencyDirectivesLexer()