Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPLexerChange.cpp109 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()
227 if (CurLexer) { in PropagateLineStartLeadingSpaceInfo()
243 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
320 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
378 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()
389 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()
408 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
409 CurLexer.reset(); in HandleEndOfFile()
443 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
490 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
[all …]
H A DPragma.cpp406 CurLexer->ReadToEndOfLine(); in HandlePragmaMark()
809 CurLexer->LexingRawMode = true; in HandlePragmaModuleBuild()
815 CurLexer->Lex(Tok); in HandlePragmaModuleBuild()
824 End = CurLexer->getBufferLocation(); in HandlePragmaModuleBuild()
825 CurLexer->Lex(Tok); in HandlePragmaModuleBuild()
840 CurLexer->Lex(Tok); in HandlePragmaModuleBuild()
857 CurLexer->LexingRawMode = false; in HandlePragmaModuleBuild()
861 Start <= CurLexer->getBuffer().end() && in HandlePragmaModuleBuild()
863 End <= CurLexer->getBuffer().end() && in HandlePragmaModuleBuild()
893 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
[all …]
H A DPPDirectives.cpp390 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
418 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()
429 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
445 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
462 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
566 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
845 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()
1313 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()
1935 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleIncludeDirective()
1936 CurLexer->cutOffLexing(); in HandleIncludeDirective()
[all …]
H A DPreprocessor.cpp373 if (CurLexer) in recomputeCurLexerKind()
542 CurLexer->SetByteOffset(SkipMainFilePreamble.first, in EnterMainSourceFile()
627 bool InPredefines = (CurLexer->getFileID() == getPredefinesFileID()); in SkipTokensWhileUsingPCH()
628 CurLexer->Lex(Tok); in SkipTokensWhileUsingPCH()
869 ReturnedToken = CurLexer->Lex(Result); in Lex()
H A DPPMacroExpansion.cpp429 if (CurLexer) in isNextPPTokenLParen()
430 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h394 std::unique_ptr<Lexer> CurLexer; variable
1902 std::move(CurLexer), CurPPLexer, in PushIncludeMacroStack()
1908 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2062 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()