Lines Matching refs:OtherMI
2470 if (const MacroInfo *OtherMI=getMacroInfo(MacroNameTok.getIdentifierInfo())) { in HandleDefineDirective() local
2481 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective()
2487 !MI->isIdenticalTo(*OtherMI, *this, in HandleDefineDirective()
2491 assert(!OtherMI->isWarnIfUnused()); in HandleDefineDirective()
2500 if (!OtherMI->isUsed() && OtherMI->isWarnIfUnused()) in HandleDefineDirective()
2501 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective()
2505 if (OtherMI->isBuiltinMacro()) in HandleDefineDirective()
2509 else if (!OtherMI->isAllowRedefinitionsWithoutWarning() && in HandleDefineDirective()
2510 !MI->isIdenticalTo(*OtherMI, *this, /*Syntactic=*/LangOpts.MicrosoftExt)) { in HandleDefineDirective()
2513 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective()
2516 if (OtherMI->isWarnIfUnused()) in HandleDefineDirective()
2517 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective()