|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/tools/clang/include/clang/AST/AttrImpl.inc 7375 ObjCOwnershipAttr *ObjCOwnershipAttr::clone(ASTContext &C) const {
7376 auto *A = new (C) ObjCOwnershipAttr(C, *this, kind);
7376 auto *A = new (C) ObjCOwnershipAttr(C, *this, kind);
11868 return cast<ObjCOwnershipAttr>(this)->getSpelling();
12448 return cast<ObjCOwnershipAttr>(this)->clone(C);
13028 return cast<ObjCOwnershipAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc 552 void VisitObjCOwnershipAttr(const ObjCOwnershipAttr *A) {
553 const auto *SA = cast<ObjCOwnershipAttr>(A); (void)SA;
553 const auto *SA = cast<ObjCOwnershipAttr>(A); (void)SA;
gen/tools/clang/include/clang/AST/AttrVisitor.inc 755 bool TraverseObjCOwnershipAttr(ObjCOwnershipAttr *A);
756 bool VisitObjCOwnershipAttr(ObjCOwnershipAttr *A) {
2991 bool VISITORCLASS<Derived>::TraverseObjCOwnershipAttr(ObjCOwnershipAttr *A) {
4328 return getDerived().TraverseObjCOwnershipAttr(cast<ObjCOwnershipAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc10170 static ObjCOwnershipAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Kind, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
10171 auto *A = new (Ctx) ObjCOwnershipAttr(Ctx, CommonInfo, Kind);
10171 auto *A = new (Ctx) ObjCOwnershipAttr(Ctx, CommonInfo, Kind);
10178 static ObjCOwnershipAttr *Create(ASTContext &Ctx, IdentifierInfo * Kind, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
10179 auto *A = new (Ctx) ObjCOwnershipAttr(Ctx, CommonInfo, Kind);
10179 auto *A = new (Ctx) ObjCOwnershipAttr(Ctx, CommonInfo, Kind);
10185 static ObjCOwnershipAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Kind, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
10189 static ObjCOwnershipAttr *Create(ASTContext &Ctx, IdentifierInfo * Kind, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
10201 ObjCOwnershipAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc 878 const auto *A = cast<ObjCOwnershipAttr>(At);
878 const auto *A = cast<ObjCOwnershipAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc 1684 New = new (Context) ObjCOwnershipAttr(Context, Info, kind);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc 1264 const auto *SA = cast<ObjCOwnershipAttr>(A);
1264 const auto *SA = cast<ObjCOwnershipAttr>(A);
include/llvm/ADT/STLExtras.h 75 typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h 58 return To::classof(&Val);
66 static inline bool doit(const From &) { return true; }
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/TypeLoc.h 880 template<typename T> const T *getAttrAs() {
881 return dyn_cast_or_null<T>(getAttr());
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp 86 auto *OwnershipAttr = TL.getAttrAs<ObjCOwnershipAttr>();
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/Sema/SemaType.cpp 6201 ObjCOwnershipAttr(S.Context, attr, II),
usr/include/c++/7.4.0/type_traits 1558 { typedef _Tp type; };
1580 { typedef _Tp const type; };