Home
last modified time | relevance | path

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

/external/clang/test/SemaTemplate/
Dinstantiate-function-2.cpp27 namespace UsedAttr { namespace
/external/llvm-project/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/llvm-project/clang/lib/AST/
DDeclBase.cpp450 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
DASTContext.cpp10713 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()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp2827 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
2828 UsedAttr *NewAttr = OldAttr->clone(Context); in mergeDeclAttributes()
2954 if (isa<UsedAttr>(I)) in mergeDeclAttributes()
9460 !NewFD->hasAttr<UsedAttr>()) in ActOnFunctionDeclarator()
13281 if (UsedAttr *Attr = VD->getAttr<UsedAttr>()) { in FinalizeDeclaration()
13284 VD->dropAttr<UsedAttr>(); in FinalizeDeclaration()
DSemaDeclAttr.cpp6334 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleMSP430InterruptAttr()
6453 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleAnyX86InterruptAttr()
6520 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleWebAssemblyExportNameAttr()
DSemaTemplateInstantiateDecl.cpp2548 if (Method->hasAttr<UsedAttr>()) { in VisitCXXMethodDecl()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp445 if (D.hasAttr<UsedAttr>()) in EmitStaticVarDecl()
DCodeGenModule.cpp1813 if (D && D->hasAttr<UsedAttr>()) in SetCommonAttributes()
4037 if (!D->template hasAttr<UsedAttr>()) in MaybeHandleStaticInExternC()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp7513 cxx_method_decl->addAttr(clang::UsedAttr::CreateImplicit(getASTContext())); in AddMethodToCXXRecordType()