reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1991 std::move(CurLexer), CurPPLexer, 1997 CurLexer = std::move(IncludeMacroStack.back().TheLexer); 2154 return IsFileLexer(CurLexer.get(), CurPPLexer);tools/clang/lib/Lex/PPDirectives.cpp
394 unsigned CurLexerBufferOffset = CurLexer->getCurrentBufferOffset(); 433 CurLexer->skipOver(*SkipLength); 436 CurLexer->Lex(Tok); 464 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); 464 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); 475 if (CurLexer) CurLexer->resetExtendedTokenMode(); 475 if (CurLexer) CurLexer->resetExtendedTokenMode(); 491 if (CurLexer) CurLexer->resetExtendedTokenMode(); 491 if (CurLexer) CurLexer->resetExtendedTokenMode(); 508 if (CurLexer) CurLexer->resetExtendedTokenMode(); 508 if (CurLexer) CurLexer->resetExtendedTokenMode(); 612 if (CurLexer) CurLexer->resetExtendedTokenMode(); 612 if (CurLexer) CurLexer->resetExtendedTokenMode(); 906 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); 906 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); 1386 CurLexer->ReadToEndOfLine(&Message); 2023 assert(CurLexer && "#include but no current lexer set!"); 2025 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); 2025 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); 2026 CurLexer->cutOffLexing(); 2468 if (CurLexer->ParsingPreprocessorDirective) 2698 if (CurLexer) CurLexer->SetCommentRetentionState(KeepMacroComments); 2698 if (CurLexer) CurLexer->SetCommentRetentionState(KeepMacroComments);tools/clang/lib/Lex/PPLexerChange.cpp
108 CurLexer.reset(TheLexer); 116 if (Callbacks && !CurLexer->Is_PragmaLexer) { 118 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); 120 Callbacks->FileChanged(CurLexer->getFileLoc(), 229 if (CurLexer) { 230 CurLexer->PropagateLineStartLeadingSpaceInfo(Result); 244 const char *EndPos = CurLexer->BufferEnd; 245 if (EndPos != CurLexer->BufferStart && 250 if (EndPos != CurLexer->BufferStart && 312 const bool LeavingSubmodule = CurLexer && CurLexerSubmodule; 322 CurLexer->BufferPtr = EndPos; 323 CurLexer->FormTokenWithChars(Result, EndPos, tok::annot_module_end); 380 !(CurLexer && CurLexer->Is_PragmaLexer)) { 380 !(CurLexer && CurLexer->Is_PragmaLexer)) { 392 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { 392 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { 409 assert(CurLexer && "Got EOF but no current lexer set!"); 411 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); 411 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); 412 CurLexer.reset(); 446 CurLexer->BufferPtr = EndPos; 447 CurLexer->FormTokenWithChars(Result, EndPos, tok::annot_module_end); 490 assert(CurLexer && "Got EOF but no current lexer set!"); 493 CurLexer->BufferPtr = EndPos; 494 CurLexer->FormTokenWithChars(Result, EndPos, tok::eof); 503 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) 509 Diag(CurLexer->getFileLoc(), diag::err_pp_through_header_not_seen) 515 CurLexer.reset();tools/clang/lib/Lex/PPMacroExpansion.cpp
430 if (CurLexer) 431 Val = CurLexer->isNextPPTokenLParen();tools/clang/lib/Lex/Pragma.cpp
411 CurLexer->ReadToEndOfLine(); 795 CurLexer->LexingRawMode = true; 801 CurLexer->Lex(Tok); 806 const char *Start = CurLexer->getBufferLocation(); 810 End = CurLexer->getBufferLocation(); 811 CurLexer->Lex(Tok); 825 CurLexer->ParsingPreprocessorDirective = true; 826 CurLexer->Lex(Tok); 843 CurLexer->LexingRawMode = false; 846 assert(CurLexer->getBuffer().begin() <= Start && 847 Start <= CurLexer->getBuffer().end() && 848 CurLexer->getBuffer().begin() <= End && 849 End <= CurLexer->getBuffer().end() && 876 assert(CurLexer && "no lexer for #pragma hdrstop processing"); 879 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); 879 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); 880 CurLexer->cutOffLexing();tools/clang/lib/Lex/Preprocessor.cpp
378 if (CurLexer) 547 CurLexer->SetByteOffset(SkipMainFilePreamble.first, 634 (CurLexer && CurLexer->getFileID() == getPredefinesFileID()); 634 (CurLexer && CurLexer->getFileID() == getPredefinesFileID()); 637 CurLexer->Lex(Tok); 891 ReturnedToken = CurLexer->Lex(Result);