Searched refs:existingAttr (Results 1 – 2 of 2) sorted by relevance
2246 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() local2247 if (existingAttr) { in mergeVisibilityAttr()2248 typename T::VisibilityType existingValue = existingAttr->getVisibility(); in mergeVisibilityAttr()2251 S.Diag(existingAttr->getLocation(), diag::err_mismatched_visibility); in mergeVisibilityAttr()3961 if (auto existingAttr = D->getAttr<ParameterABIAttr>()) { in AddParameterABIAttr() local3962 if (existingAttr->getABI() != abi) { in AddParameterABIAttr()3964 << getParameterABISpelling(abi) << existingAttr; in AddParameterABIAttr()3965 Diag(existingAttr->getLocation(), diag::note_conflicting_attribute); in AddParameterABIAttr()
2547 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() local2548 if (existingAttr) { in mergeVisibilityAttr()2549 typename T::VisibilityType existingValue = existingAttr->getVisibility(); in mergeVisibilityAttr()2552 S.Diag(existingAttr->getLocation(), diag::err_mismatched_visibility); in mergeVisibilityAttr()4839 if (auto existingAttr = D->getAttr<ParameterABIAttr>()) { in AddParameterABIAttr() local4840 if (existingAttr->getABI() != abi) { in AddParameterABIAttr()4842 << getParameterABISpelling(abi) << existingAttr; in AddParameterABIAttr()4843 Diag(existingAttr->getLocation(), diag::note_conflicting_attribute); in AddParameterABIAttr()