Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp117 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 …]
DPPDirectives.cpp315 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 …]
DPreprocessor.cpp345 if (CurLexer) in recomputeCurLexerKind()
495 CurLexer->SkipBytes(SkipMainFilePreamble.first, in EnterMainSourceFile()
692 ReturnedToken = CurLexer->Lex(Result); in Lex()
DPragma.cpp364 if (CurLexer) in HandlePragmaMark()
365 CurLexer->ReadToEndOfLine(); in HandlePragmaMark()
DPPMacroExpansion.cpp185 if (CurLexer) in isNextPPTokenLParen()
186 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h277 std::unique_ptr<Lexer> CurLexer; variable
1391 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()