Searched refs:UsedAttr (Results 1 – 8 of 8) sorted by relevance
24 namespace UsedAttr { namespace
299 if (CheckUsedAttr && hasAttr<UsedAttr>()) in isUsed()
7900 if (D->hasAttr<AliasAttr>() || D->hasAttr<UsedAttr>()) in DeclMustBeEmitted()
2196 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()2197 UsedAttr *NewAttr = OldAttr->clone(Context); in mergeDeclAttributes()2237 if (isa<UsedAttr>(I)) in mergeDeclAttributes()7279 !NewFD->hasAttr<UsedAttr>()) in ActOnFunctionDeclarator()9254 if (UsedAttr *Attr = VD->getAttr<UsedAttr>()) { in FinalizeDeclaration()9257 VD->dropAttr<UsedAttr>(); in FinalizeDeclaration()
1594 UsedAttr(Attr.getRange(), S.Context, in handleUsedAttr()3803 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleMSP430InterruptAttr()
335 if (D.hasAttr<UsedAttr>()) in EmitStaticVarDecl()
771 if (D->hasAttr<UsedAttr>()) in SetCommonAttributes()1797 if (!D->template hasAttr<UsedAttr>()) in MaybeHandleStaticInExternC()
4671 cxx_method_decl->addAttr(::new (*m_ast) UsedAttr(SourceRange(), *m_ast)); in AddMethodToCXXRecordType()