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(),
260 if (CurLexer) {
261 CurLexer->PropagateLineStartLeadingSpaceInfo(Result);
275 const char *EndPos = CurLexer->BufferEnd;
276 if (EndPos != CurLexer->BufferStart &&
281 if (EndPos != CurLexer->BufferStart &&
351 !isEndOfMacro && !(CurLexer && CurLexer->Is_PragmaLexer)) {
366 if (CurLexer) {
368 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof);
369 CurLexer.reset();
394 bool LeavingSubmodule = CurSubmodule && CurLexer;
399 CurLexer->BufferPtr = EndPos;
400 CurLexer->FormTokenWithChars(Result, EndPos, tok::annot_module_end);
424 if (CurLexer) {
427 CurLexer->BufferPtr = EndPos;
428 CurLexer->FormTokenWithChars(Result, EndPos, tok::eof);
437 if (CurLexer->getFileLoc() == CodeCompletionFileLoc)
443 CurLexer.reset();