Lines Matching refs:CurLexer
509 BeginPtr = PP.CurLexer->getBufferLocation(); in SkipExcludedConditionalBlock()
512 PP.CurLexer->seek(PP.CurLexer->getCurrentBufferOffset() + *SkipRangePtr, in SkipExcludedConditionalBlock()
520 assert(PP.CurLexer->isDependencyDirectivesLexer()); in SkipExcludedConditionalBlock()
535 if (CurLexer->isDependencyDirectivesLexer()) { in SkipExcludedConditionalBlock()
536 CurLexer->LexDependencyDirectiveTokenWhileSkipping(Tok); in SkipExcludedConditionalBlock()
540 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
575 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()
578 const char *Hashptr = CurLexer->getBufferLocation() - Tok.getLength(); in SkipExcludedConditionalBlock()
579 assert(CurLexer->getSourceLocation(Hashptr) == Tok.getLocation()); in SkipExcludedConditionalBlock()
589 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
605 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
622 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
821 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
1124 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()
1625 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()
1983 CurLexer->cutOffLexing(); in HandleIncludeDirective()
2288 assert(CurLexer && "#include but no current lexer set!"); in HandleHeaderIncludeOrImport()
2290 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
2291 CurLexer->cutOffLexing(); in HandleHeaderIncludeOrImport()
2791 if (CurLexer->ParsingPreprocessorDirective) in ReadOptionalMacroParameterListAndBody()
3030 if (CurLexer) CurLexer->SetCommentRetentionState(KeepMacroComments); in HandleDefineDirective()