Lines Matching refs:getDefinitionLoc
2795 Diag(MI->getDefinitionLoc(), diag::warn_pp_macro_def_mismatch_with_pch) in HandleDefineDirective()
2815 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective()
2823 Diag(MI->getDefinitionLoc(), diag::warn_pp_objc_macro_redef_ignored); in HandleDefineDirective()
2835 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective()
2845 Diag(MI->getDefinitionLoc(), diag::ext_pp_macro_redef) in HandleDefineDirective()
2847 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective()
2851 WarnUnusedMacroLocs.erase(OtherMI->getDefinitionLoc()); in HandleDefineDirective()
2860 if (getSourceManager().isInMainFile(MI->getDefinitionLoc()) && in HandleDefineDirective()
2861 !Diags->isIgnored(diag::pp_macro_not_used, MI->getDefinitionLoc()) && in HandleDefineDirective()
2863 getSourceManager().getFileID(MI->getDefinitionLoc()) != in HandleDefineDirective()
2866 WarnUnusedMacroLocs.insert(MI->getDefinitionLoc()); in HandleDefineDirective()
2897 Diag(MI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleUndefDirective()
2900 WarnUnusedMacroLocs.erase(MI->getDefinitionLoc()); in HandleUndefDirective()