Home | History | Annotate | Download | only in Lex

Lines Matching refs:CurPPLexer

53     return CurPPLexer;
114 if (CurPPLexer || CurTokenLexer)
118 CurPPLexer = TheLexer;
138 if (CurPPLexer || CurTokenLexer)
143 CurPPLexer = CurPTHLexer.get();
149 FileID FID = CurPPLexer->getFileID();
242 if (CurPPLexer) { // Not ending a macro, ignore it.
244 CurPPLexer->MIOpt.GetControllingMacroAtEndOfFile()) {
247 SourceMgr.getFileEntryForID(CurPPLexer->getFileID())) {
250 CurPPLexer->MIOpt.GetDefinedMacro()) {
255 Diag(CurPPLexer->MIOpt.GetMacroLocation(),
257 << CurPPLexer->MIOpt.GetMacroLocation()
259 Diag(CurPPLexer->MIOpt.GetDefinedLocation(),
261 << CurPPLexer->MIOpt.GetDefinedLocation()
265 CurPPLexer->MIOpt.GetDefinedLocation(),
289 if (isCodeCompletionEnabled() && CurPPLexer &&
290 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) ==
302 CurPPLexer = 0;
306 if (!isEndOfMacro && CurPPLexer &&
307 SourceMgr.getIncludeLoc(CurPPLexer->getFileID()).isValid()) {
312 CurPPLexer->getInitialNumSLocEntries() + 1/*#include'd file*/;
313 SourceMgr.setNumCreatedFIDsForFileID(CurPPLexer->getFileID(), NumFIDs);
317 if (Callbacks && !isEndOfMacro && CurPPLexer)
318 ExitedFID = CurPPLexer->getFileID();
324 if (Callbacks && !isEndOfMacro && CurPPLexer) {
326 SourceMgr.getFileCharacteristic(CurPPLexer->getSourceLocation());
327 Callbacks->FileChanged(CurPPLexer->getSourceLocation(),
377 CurPPLexer = 0;
461 assert(CurTokenLexer && !CurPPLexer &&
499 assert(CurTokenLexer && !CurPPLexer &&