Searched refs:AttrT (Results 1 – 5 of 5) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 29 template <typename AttrT> static bool hasExplicitAttr(const VarDecl *D) { in hasExplicitAttr() 32 if (auto *A = D->getAttr<AttrT>()) in hasExplicitAttr() 253 template <typename AttrT> static bool hasImplicitAttr(const FunctionDecl *D) { in hasImplicitAttr() 256 if (auto *A = D->getAttr<AttrT>()) in hasImplicitAttr()
|
H A D | SemaType.cpp | 4365 template<typename AttrT> 4366 static AttrT *createSimpleAttr(ASTContext &Ctx, ParsedAttr &AL) { in createSimpleAttr() 4368 return ::new (Ctx) AttrT(Ctx, AL); in createSimpleAttr()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 362 if (const AttributedType *AttrT = T->getAs<AttributedType>()) { in isGCOwnedNonObjC() local 363 if (AttrT->getAttrKind() == attr::ObjCOwnership) in isGCOwnedNonObjC() 364 return !AttrT->getModifiedType()->isObjCRetainableType(); in isGCOwnedNonObjC()
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
H A D | traits.d | 7543 struct AttrT(T) 7549 @AttrT!int("answer", 42) int j; 7550 static assert(hasUDA!(j, AttrT)); 7551 static assert(hasUDA!(j, AttrT!int)); 7552 static assert(!hasUDA!(j, AttrT!string)); 7554 @AttrT!string("hello", "world") int k; 7555 static assert(hasUDA!(k, AttrT)); 7556 static assert(!hasUDA!(k, AttrT!int)); 7557 static assert(hasUDA!(k, AttrT!string)); 7650 struct AttrT(T) [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | traits.d | 8462 struct AttrT(T) 8468 @AttrT!int("answer", 42) int j; 8469 static assert(hasUDA!(j, AttrT)); 8470 static assert(hasUDA!(j, AttrT!int)); 8471 static assert(!hasUDA!(j, AttrT!string)); 8473 @AttrT!string("hello", "world") int k; 8474 static assert(hasUDA!(k, AttrT)); 8475 static assert(!hasUDA!(k, AttrT!int)); 8476 static assert(hasUDA!(k, AttrT!string)); 8548 struct AttrT(T) [all …]
|