• Home
  • Raw
  • Download

Lines Matching refs:getAttr

2429   if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) {  in mergeDeclAttributes()
2441 if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2442 if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2452 << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange(); in mergeDeclAttributes()
2457 if (const auto *NewAbiTagAttr = New->getAttr<AbiTagAttr>()) { in mergeDeclAttributes()
2458 if (const auto *OldAbiTagAttr = Old->getAttr<AbiTagAttr>()) { in mergeDeclAttributes()
2524 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
2718 const auto *AttrA = A->getAttr<PassObjectSizeAttr>(); in hasIdenticalPassObjectSizeAttrs()
2719 const auto *AttrB = B->getAttr<PassObjectSizeAttr>(); in hasIdenticalPassObjectSizeAttrs()
3050 const CXX11NoReturnAttr *NRA = New->getAttr<CXX11NoReturnAttr>(); in MergeFunctionDecl()
3061 const CarriesDependencyAttr *CDA = New->getAttr<CarriesDependencyAttr>(); in MergeFunctionDecl()
5537 if (WeakAttr *Attr = ND.getAttr<WeakAttr>()) { in checkAttributesAfterMerging()
5543 if (WeakRefAttr *Attr = ND.getAttr<WeakRefAttr>()) { in checkAttributesAfterMerging()
5553 if (const auto *Attr = VD->getAttr<AliasAttr>()) { in checkAttributesAfterMerging()
5564 if (SelectAnyAttr *Attr = ND.getAttr<SelectAnyAttr>()) { in checkAttributesAfterMerging()
5584 if (auto *Attr = ND.getAttr<NotTailCalledAttr>()) in checkAttributesAfterMerging()
5609 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration()
5610 const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration()
5611 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration()
5612 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration()
6296 NewVD->getAttr<DLLImportAttr>()->isInherited() || in ActOnVariableDeclarator()
10386 if (const SectionAttr *SA = var->getAttr<SectionAttr>()) in CheckCompleteVariableDeclaration()
10615 if (UsedAttr *Attr = VD->getAttr<UsedAttr>()) { in FinalizeDeclaration()
11684 Diag(FD->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in ActOnFinishFunctionBody()
14142 if (const MSInheritanceAttr *IA = Record->getAttr<MSInheritanceAttr>()) in ActOnFields()