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.cpp386 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
400 if (CurLexer->getFileLoc() != CodeCompletionFileLoc) in SkipExcludedConditionalBlock()
418 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in SkipExcludedConditionalBlock()
429 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
445 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
462 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
566 if (CurLexer) CurLexer->resetExtendedTokenMode(); in SkipExcludedConditionalBlock()
905 if (CurLexer) CurLexer->SetKeepWhitespaceMode(false); in HandleDirective()
1370 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()
1914 if (CurLexer) { in HandleIncludeDirective()
[all …]
DPreprocessor.cpp362 if (CurLexer) in recomputeCurLexerKind()
512 CurLexer->SkipBytes(SkipMainFilePreamble.first, in EnterMainSourceFile()
728 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.h284 std::unique_ptr<Lexer> CurLexer; variable
1693 CurLexerKind, CurSubmodule, std::move(CurLexer), std::move(CurPTHLexer), in PushIncludeMacroStack()
1699 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1841 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()