Searched refs:UsedAttr (Results 1 – 7 of 7) sorted by relevance
27 namespace UsedAttr { namespace
351 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
8591 if (D->hasAttr<AliasAttr>() || D->hasAttr<UsedAttr>()) in DeclMustBeEmitted()
2429 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()2430 UsedAttr *NewAttr = OldAttr->clone(Context); in mergeDeclAttributes()2502 if (isa<UsedAttr>(I)) in mergeDeclAttributes()8254 !NewFD->hasAttr<UsedAttr>()) in ActOnFunctionDeclarator()10615 if (UsedAttr *Attr = VD->getAttr<UsedAttr>()) { in FinalizeDeclaration()10618 VD->dropAttr<UsedAttr>(); in FinalizeDeclaration()
1829 UsedAttr(Attr.getRange(), S.Context, in handleUsedAttr()4780 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleMSP430InterruptAttr()4905 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleAnyX86InterruptAttr()
394 if (D.hasAttr<UsedAttr>()) in EmitStaticVarDecl()
939 if (D && D->hasAttr<UsedAttr>()) in SetCommonAttributes()2328 if (!D->template hasAttr<UsedAttr>()) in MaybeHandleStaticInExternC()