Home | History | Annotate | Download | only in Lex

Lines Matching refs:CurLexer

117   CurLexer.reset(TheLexer);
125 if (Callbacks && !CurLexer->Is_PragmaLexer) {
127 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc());
129 Callbacks->FileChanged(CurLexer->getFileLoc(),
241 if (CurLexer) {
242 CurLexer->PropagateLineStartLeadingSpaceInfo(Result);
256 const char *EndPos = CurLexer->BufferEnd;
257 if (EndPos != CurLexer->BufferStart &&
262 if (EndPos != CurLexer->BufferStart &&
332 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) {
347 if (CurLexer) {
349 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof);
350 CurLexer.reset();
375 bool LeavingSubmodule = CurSubmodule && CurLexer;
380 CurLexer->BufferPtr = EndPos;
381 CurLexer->FormTokenWithChars(Result, EndPos, tok::annot_module_end);
405 if (CurLexer) {
408 CurLexer->BufferPtr = EndPos;
409 CurLexer->FormTokenWithChars(Result, EndPos, tok::eof);
418 if (CurLexer->getFileLoc() == CodeCompletionFileLoc)
424 CurLexer.reset();