Searched refs:AttrT (Results 1 – 4 of 4) sorted by relevance
361 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { in isGCOwnedNonObjC() local362 if (AttrT->getAttrKind() == attr::ObjCOwnership) in isGCOwnedNonObjC()363 return !AttrT->getModifiedType()->isObjCRetainableType(); in isGCOwnedNonObjC()
33 template <typename AttrT> static bool hasExplicitAttr(const VarDecl *D) { in hasExplicitAttr()36 if (auto *A = D->getAttr<AttrT>()) in hasExplicitAttr()306 template <typename AttrT> static bool hasImplicitAttr(const FunctionDecl *D) { in hasImplicitAttr()309 if (auto *A = D->getAttr<AttrT>()) in hasImplicitAttr()
4153 template<typename AttrT>4154 static AttrT *createSimpleAttr(ASTContext &Ctx, ParsedAttr &AL) { in createSimpleAttr()4156 return ::new (Ctx) AttrT(Ctx, AL); in createSimpleAttr()
3707 template <typename AttrT> static bool hasImplicitAttr(const ValueDecl *D) { in hasImplicitAttr()3710 if (auto *A = D->getAttr<AttrT>()) in hasImplicitAttr()