Searched refs:CurLexer (Results 1 – 6 of 6) sorted by relevance
117 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()125 if (Callbacks && !CurLexer->Is_PragmaLexer) { in EnterSourceFileWithLexer()127 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()129 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()260 if (CurLexer) { in PropagateLineStartLeadingSpaceInfo()261 CurLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()275 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos()276 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()281 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()351 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()[all …]
315 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()329 if (CurLexer->getFileLoc() != CodeCompletionFileLoc) in SkipExcludedConditionalBlock()347 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()358 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()374 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()391 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()495 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()766 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()1232 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()1700 if (CurLexer) { in HandleIncludeDirective()[all …]
345 if (CurLexer) in recomputeCurLexerKind()495 CurLexer->SkipBytes(SkipMainFilePreamble.first, in EnterMainSourceFile()692 ReturnedToken = CurLexer->Lex(Result); in Lex()
364 if (CurLexer) in HandlePragmaMark()365 CurLexer->ReadToEndOfLine(); in HandlePragmaMark()
185 if (CurLexer) in isNextPPTokenLParen()186 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
277 std::unique_ptr<Lexer> CurLexer; variable1391 CurLexerKind, CurSubmodule, std::move(CurLexer), std::move(CurPTHLexer), in PushIncludeMacroStack()1397 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()1533 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()