Searched refs:CurLexer (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPLexerChange.cpp | 121 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 D | PPDirectives.cpp | 532 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 D | Pragma.cpp | 436 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 D | Preprocessor.cpp | 384 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 D | PPMacroExpansion.cpp | 443 if (CurLexer) in isNextPPTokenLParen() 444 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Preprocessor.h | 733 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()
|