Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclAttr.cpp2246 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() local
2247 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() local
3962 if (existingAttr->getABI() != abi) { in AddParameterABIAttr()
3964 << getParameterABISpelling(abi) << existingAttr; in AddParameterABIAttr()
3965 Diag(existingAttr->getLocation(), diag::note_conflicting_attribute); in AddParameterABIAttr()