Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp118 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()
126 if (Callbacks && !CurLexer->Is_PragmaLexer) { in EnterSourceFileWithLexer()
128 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
130 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()
261 if (CurLexer) { in PropagateLineStartLeadingSpaceInfo()
262 CurLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
276 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos()
277 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
282 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
351 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()
[all …]
DPPDirectives.cpp305 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
319 if (CurLexer->getFileLoc() != CodeCompletionFileLoc) in SkipExcludedConditionalBlock()
337 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()
348 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
364 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
381 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
485 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
762 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()
1228 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()
1738 if (CurLexer) { in HandleIncludeDirective()
[all …]
DPreprocessor.cpp359 if (CurLexer) in recomputeCurLexerKind()
509 CurLexer->SkipBytes(SkipMainFilePreamble.first, in EnterMainSourceFile()
725 ReturnedToken = CurLexer->Lex(Result); in Lex()
DPragma.cpp369 if (CurLexer) in HandlePragmaMark()
370 CurLexer->ReadToEndOfLine(); in HandlePragmaMark()
DPPMacroExpansion.cpp380 if (CurLexer) in isNextPPTokenLParen()
381 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h283 std::unique_ptr<Lexer> CurLexer; variable
1665 CurLexerKind, CurSubmodule, std::move(CurLexer), std::move(CurPTHLexer), in PushIncludeMacroStack()
1671 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1809 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()