Lines Matching refs:getAttr
2373 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
2385 if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2386 if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2396 << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange(); in mergeDeclAttributes()
2450 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
2644 const auto *AttrA = A->getAttr<PassObjectSizeAttr>(); in hasIdenticalPassObjectSizeAttrs()
2645 const auto *AttrB = B->getAttr<PassObjectSizeAttr>(); in hasIdenticalPassObjectSizeAttrs()
2976 const CXX11NoReturnAttr *NRA = New->getAttr<CXX11NoReturnAttr>(); in MergeFunctionDecl()
2987 const CarriesDependencyAttr *CDA = New->getAttr<CarriesDependencyAttr>(); in MergeFunctionDecl()
5404 if (WeakAttr *Attr = ND.getAttr<WeakAttr>()) { in checkAttributesAfterMerging()
5410 if (WeakRefAttr *Attr = ND.getAttr<WeakRefAttr>()) { in checkAttributesAfterMerging()
5420 if (const auto *Attr = VD->getAttr<AliasAttr>()) { in checkAttributesAfterMerging()
5431 if (SelectAnyAttr *Attr = ND.getAttr<SelectAnyAttr>()) { in checkAttributesAfterMerging()
5451 if (auto *Attr = ND.getAttr<NotTailCalledAttr>()) in checkAttributesAfterMerging()
5472 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration()
5473 const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration()
5474 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration()
5475 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration()
6096 NewVD->getAttr<DLLImportAttr>()->isInherited() || in ActOnVariableDeclarator()
10025 if (const SectionAttr *SA = var->getAttr<SectionAttr>()) in CheckCompleteVariableDeclaration()
10206 if (UsedAttr *Attr = VD->getAttr<UsedAttr>()) { in FinalizeDeclaration()
11274 Diag(FD->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in ActOnFinishFunctionBody()
13688 if (const MSInheritanceAttr *IA = Record->getAttr<MSInheritanceAttr>()) in ActOnFields()