Home
last modified time | relevance | path

Searched refs:UsedAttr (Results 1 – 7 of 7) sorted by relevance

/external/clang/test/SemaTemplate/
Dinstantiate-function-2.cpp27 namespace UsedAttr { namespace
/external/clang/lib/AST/
DDeclBase.cpp351 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
DASTContext.cpp8591 if (D->hasAttr<AliasAttr>() || D->hasAttr<UsedAttr>()) in DeclMustBeEmitted()
/external/clang/lib/Sema/
DSemaDecl.cpp2429 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()
DSemaDeclAttr.cpp1829 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()
/external/clang/lib/CodeGen/
DCGDecl.cpp394 if (D.hasAttr<UsedAttr>()) in EmitStaticVarDecl()
DCodeGenModule.cpp939 if (D && D->hasAttr<UsedAttr>()) in SetCommonAttributes()
2328 if (!D->template hasAttr<UsedAttr>()) in MaybeHandleStaticInExternC()