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()
124 if (Callbacks && !CurLexer->Is_PragmaLexer) { in EnterSourceFileWithLexer()
126 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
128 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()
252 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) { in HandleEndOfFile()
267 if (CurLexer) { in HandleEndOfFile()
269 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
270 CurLexer.reset(); in HandleEndOfFile()
314 if (CurLexer) { in HandleEndOfFile()
315 const char *EndPos = CurLexer->BufferEnd; in HandleEndOfFile()
[all …]
DPPDirectives.cpp226 CurLexer->Lex(Tok); in SkipExcludedConditionalBlock()
240 if (CurLexer->getFileLoc() != CodeCompletionFileLoc) in SkipExcludedConditionalBlock()
258 if (CurLexer) CurLexer->SetCommentRetentionState(false); in SkipExcludedConditionalBlock()
269 if (CurLexer) CurLexer->SetCommentRetentionState(KeepComments); in SkipExcludedConditionalBlock()
285 if (CurLexer) CurLexer->SetCommentRetentionState(KeepComments); in SkipExcludedConditionalBlock()
302 if (CurLexer) CurLexer->SetCommentRetentionState(KeepComments); in SkipExcludedConditionalBlock()
408 if (CurLexer) CurLexer->SetCommentRetentionState(KeepComments); in SkipExcludedConditionalBlock()
1051 CurLexer->ReadToEndOfLine(&Message); in HandleUserDiagnosticDirective()
1702 if (CurLexer) CurLexer->SetCommentRetentionState(KeepMacroComments); in HandleDefineDirective()
DPreprocessor.cpp289 if (CurLexer) in recomputeCurLexerKind()
431 CurLexer->SkipBytes(SkipMainFilePreamble.first, in EnterMainSourceFile()
DPragma.cpp335 if (CurLexer) in HandlePragmaMark()
336 CurLexer->ReadToEndOfLine(); in HandlePragmaMark()
DPPMacroExpansion.cpp157 if (CurLexer) in isNextPPTokenLParen()
158 Val = CurLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h215 OwningPtr<Lexer> CurLexer; variable
625 case CLK_Lexer: CurLexer->Lex(Result); break; in Lex()
1139 CurLexer.take(), in PushIncludeMacroStack()
1148 CurLexer.reset(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1262 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()