Lines Matching refs:getDefinitionLoc
2481 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective()
2489 Diag(MI->getDefinitionLoc(), diag::warn_pp_objc_macro_redef_ignored); in HandleDefineDirective()
2501 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective()
2511 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective()
2513 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective()
2517 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective()
2526 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective()
2527 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc())) { in HandleDefineDirective()
2529 WarnUnusedMacroLocs.insert(MI->getDefinitionLoc()); in HandleDefineDirective()
2567 Diag(MI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleUndefDirective()
2570 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandleUndefDirective()