Home
last modified time | relevance | path

Searched refs:existingAttr (Results 1 – 2 of 2) 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()
/external/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp2547 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() local
2548 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() local
4840 if (existingAttr->getABI() != abi) { in AddParameterABIAttr()
4842 << getParameterABISpelling(abi) << existingAttr; in AddParameterABIAttr()
4843 Diag(existingAttr->getLocation(), diag::note_conflicting_attribute); in AddParameterABIAttr()