Lines Matching refs:CurLexer
529 BeginPtr = PP.CurLexer->getBufferLocation(); in SkipExcludedConditionalBlock()
532 PP.CurLexer->seek(PP.CurLexer->getCurrentBufferOffset() + *SkipRangePtr, in SkipExcludedConditionalBlock()
540 assert(PP.CurLexer->isDependencyDirectivesLexer()); in SkipExcludedConditionalBlock()
555 if (CurLexer->isDependencyDirectivesLexer()) { in SkipExcludedConditionalBlock()
556 CurLexer->LexDependencyDirectiveTokenWhileSkipping(Tok); in SkipExcludedConditionalBlock()
560 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
595 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()
598 const char *Hashptr = CurLexer->getBufferLocation() - Tok.getLength(); in SkipExcludedConditionalBlock()
599 assert(CurLexer->getSourceLocation(Hashptr) == Tok.getLocation()); 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()
1137 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()
1638 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()
1996 CurLexer->cutOffLexing(); in HandleIncludeDirective()
2297 assert(CurLexer && "#include but no current lexer set!"); in HandleHeaderIncludeOrImport()
2299 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
2300 CurLexer->cutOffLexing(); in HandleHeaderIncludeOrImport()
2802 if (CurLexer->ParsingPreprocessorDirective) in ReadOptionalMacroParameterListAndBody()
3041 if (CurLexer) CurLexer->SetCommentRetentionState(KeepMacroComments); in HandleDefineDirective()