Home
last modified time | relevance | path

Searched refs:existingAttr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSwift.cpp729 if (auto existingAttr = D->getAttr<ParameterABIAttr>()) { in AddParameterABIAttr() local
730 if (existingAttr->getABI() != abi) { in AddParameterABIAttr()
732 << getParameterABISpelling(abi) << existingAttr in AddParameterABIAttr()
734 existingAttr->isRegularKeywordAttribute()); in AddParameterABIAttr()
735 Diag(existingAttr->getLocation(), diag::note_conflicting_attribute); in AddParameterABIAttr()
H A DSemaDeclAttr.cpp2737 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() local
2738 if (existingAttr) { in mergeVisibilityAttr()
2739 typename T::VisibilityType existingValue = existingAttr->getVisibility(); in mergeVisibilityAttr()
2742 S.Diag(existingAttr->getLocation(), diag::err_mismatched_visibility); in mergeVisibilityAttr()