Home
last modified time | relevance | path

Searched refs:InheritableAttr (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td596 class InheritableAttr : Attr {
777 : InheritableAttr,
1073 def Cold : InheritableAttr {
1086 def Const : InheritableAttr {
1454 def Final : InheritableAttr {
1519 def Hot : InheritableAttr {
1570 def Leaf : InheritableAttr {
2352 def Pure : InheritableAttr {
2881 def Used : InheritableAttr {
2895 def Uuid : InheritableAttr {
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAttr.h137 class InheritableAttr : public Attr {
139 InheritableAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in InheritableAttr() function
162 class DeclOrStmtAttr : public InheritableAttr {
167 : InheritableAttr(Context, CommonInfo, AK, IsLateParsed, in DeclOrStmtAttr()
177 class InheritableParamAttr : public InheritableAttr {
182 : InheritableAttr(Context, CommonInfo, AK, IsLateParsed, in InheritableParamAttr()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSemaInternal.h54 inline InheritableAttr *getDLLAttr(Decl *D) { in getDLLAttr()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp2800 const InheritableAttr *Attr, in mergeDeclAttribute()
2814 InheritableAttr *NewAttr = nullptr; in mergeDeclAttribute()
2885 NewAttr = cast<InheritableAttr>(Attr->clone(S.Context)); in mergeDeclAttribute()
3206 for (auto *I : Old->specific_attrs<InheritableAttr>()) { in mergeDeclAttributes()
3273 InheritableAttr *newAttr = in mergeParamDeclAttributes()
6873 if (const InheritableAttr *Attr = getDLLAttr(&ND)) { in checkAttributesAfterMerging()
13827 auto *NewAttr = cast<InheritableAttr>(A->clone(getASTContext())); in CheckStaticLocalForDllExport()
13918 const InheritableAttr *DLLAttr = getDLLAttr(VD); in FinalizeDeclaration()
H A DSemaDeclCXX.cpp6292 auto *A = cast<InheritableAttr>(TemplateAttr->clone(getASTContext())); in checkClassLevelDLLAttribute()
6314 InheritableAttr *MemberAttr = getDLLAttr(Member); in checkClassLevelDLLAttribute()
6404 InheritableAttr *NewAttr = nullptr; in checkClassLevelDLLAttribute()
6419 NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext())); in checkClassLevelDLLAttribute()
6434 NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext())); in checkClassLevelDLLAttribute()
6464 auto *NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext())); in propagateDLLAttrToBaseClassTemplate()
17297 if (const InheritableAttr *DLLAttr = getDLLAttr(Fn)) { in SetDeclDeleted()
H A DSemaTemplate.cpp9592 auto *A = cast_or_null<InheritableAttr>(getDLLAttr(Def)); in dllExportImportClassTemplateSpecialization()
9858 auto *A = cast<InheritableAttr>( in ActOnExplicitInstantiation()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp3307 InheritableAttr *NewAttr = nullptr; in mergeInheritableAttributes()
3312 NewAttr = cast<InheritableAttr>(IA->clone(Context)); in mergeInheritableAttributes()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst2829 ``InheritableAttr`` type, which specifies that the attribute can be inherited by
2831 ``InheritableParamAttr`` is similar to ``InheritableAttr``, except that the
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp8640 if (auto *ToInheritableAttr = dyn_cast<InheritableAttr>(ToAttr)) in importAttr()