Searched refs:existingAttr (Results 1 – 1 of 1) sorted by relevance
2660 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() local2661 if (existingAttr) { in mergeVisibilityAttr()2662 typename T::VisibilityType existingValue = existingAttr->getVisibility(); in mergeVisibilityAttr()2665 S.Diag(existingAttr->getLocation(), diag::err_mismatched_visibility); in mergeVisibilityAttr()4975 if (auto existingAttr = D->getAttr<ParameterABIAttr>()) { in AddParameterABIAttr() local4976 if (existingAttr->getABI() != abi) { in AddParameterABIAttr()4978 << getParameterABISpelling(abi) << existingAttr; in AddParameterABIAttr()4979 Diag(existingAttr->getLocation(), diag::note_conflicting_attribute); in AddParameterABIAttr()