|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
gen/tools/clang/include/clang/AST/TypeNodes.inc 51 TYPE(ObjCInterface, ObjCObjectType)
References
include/llvm/Support/Casting.h 58 return To::classof(&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,
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;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
248 typename cast_retty<X, const Y>::ret_type>::type
252 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
331 typename cast_retty<X, const Y>::ret_type>::type
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h 56 static inline void *getAsVoidPointer(T *P) { return P; }
57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
91 typedef PointerLikeTypeTraits<T *> NonConst;
93 static inline const void *getAsVoidPointer(const T *P) {
96 static inline const T *getFromVoidPointer(const void *P) {
tools/clang/include/clang/AST/JSONNodeDumper.h 217 void VisitObjCInterfaceType(const ObjCInterfaceType *OIT);
tools/clang/include/clang/AST/TextNodeDumper.h 294 void VisitObjCInterfaceType(const ObjCInterfaceType *T);
tools/clang/include/clang/AST/Type.h 5852 if (const auto *T = dyn_cast<ObjCInterfaceType>(ObjT))
5852 if (const auto *T = dyn_cast<ObjCInterfaceType>(ObjT))
5920 const ObjCInterfaceType *getInterfaceType() const;
6504 return isa<ObjCInterfaceType>(CanonicalType) ||
tools/clang/include/clang/AST/TypeLoc.h 370 return TypeClass::classof(Ty);
405 const TypeClass *getTypePtr() const {
406 return cast<TypeClass>(Base::getTypePtr());
1053 ObjCInterfaceType,
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp 396 if (const ObjCInterfaceType *interT = pointee->getAs<ObjCInterfaceType>())
396 if (const ObjCInterfaceType *interT = pointee->getAs<ObjCInterfaceType>())
tools/clang/lib/AST/ASTContext.cpp 2095 const auto *ObjCI = cast<ObjCInterfaceType>(T);
2095 const auto *ObjCI = cast<ObjCInterfaceType>(T);
2223 } else if (const auto *ObjCI = T->getAs<ObjCInterfaceType>()) {
2223 } else if (const auto *ObjCI = T->getAs<ObjCInterfaceType>()) {
4569 isa<ObjCInterfaceType>(baseType))
4859 void *Mem = Allocate(sizeof(ObjCInterfaceType), TypeAlignment);
4860 auto *T = new (Mem) ObjCInterfaceType(Decl);
4860 auto *T = new (Mem) ObjCInterfaceType(Decl);
8230 const ObjCInterfaceType* LHS = LHSOPT->getInterfaceType();
8231 const ObjCInterfaceType* RHS = RHSOPT->getInterfaceType();
tools/clang/lib/AST/ASTImporter.cpp 351 ExpectedType VisitObjCInterfaceType(const ObjCInterfaceType *T);
1494 ASTNodeImporter::VisitObjCInterfaceType(const ObjCInterfaceType *T) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp 878 const auto *Iface1 = cast<ObjCInterfaceType>(T1);
878 const auto *Iface1 = cast<ObjCInterfaceType>(T1);
879 const auto *Iface2 = cast<ObjCInterfaceType>(T2);
879 const auto *Iface2 = cast<ObjCInterfaceType>(T2);
tools/clang/lib/AST/DeclObjC.cpp 607 cast<ObjCInterfaceType>(TypeForDecl)->Decl = this;
tools/clang/lib/AST/ItaniumMangle.cpp 3254 void CXXNameMangler::mangleType(const ObjCInterfaceType *T) {
tools/clang/lib/AST/JSONNodeDumper.cpp 661 void JSONNodeDumper::VisitObjCInterfaceType(const ObjCInterfaceType *OIT) {
tools/clang/lib/AST/MicrosoftMangle.cpp 2762 void MicrosoftCXXNameMangler::mangleType(const ObjCInterfaceType *T, Qualifiers,
tools/clang/lib/AST/ODRHash.cpp 933 void VisitObjCInterfaceType(const ObjCInterfaceType *T) {
tools/clang/lib/AST/TextNodeDumper.cpp 1216 void TextNodeDumper::VisitObjCInterfaceType(const ObjCInterfaceType *T) {
tools/clang/lib/AST/Type.cpp 706 if (isa<ObjCInterfaceType>(objcObject))
724 if (isa<ObjCInterfaceType>(objcObject))
741 if (isa<ObjCInterfaceType>(objcObject))
1605 const ObjCInterfaceType *ObjCObjectPointerType::getInterfaceType() const {
1608 ->castAs<ObjCInterfaceType>();
2176 = cast<ObjCInterfaceType>(CanonicalType)->getDecl();
3697 Linkage L = cast<ObjCInterfaceType>(T)->getDecl()->getLinkageInternal();
3782 return getDeclLinkageAndVisibility(cast<ObjCInterfaceType>(T)->getDecl());
tools/clang/lib/AST/TypePrinter.cpp 1562 void TypePrinter::printObjCInterfaceBefore(const ObjCInterfaceType *T,
1568 void TypePrinter::printObjCInterfaceAfter(const ObjCInterfaceType *T,
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp 2331 llvm::DIType *CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
2444 llvm::DIType *CGDebugInfo::CreateTypeDefinition(const ObjCInterfaceType *Ty,
3023 return CreateType(cast<ObjCInterfaceType>(Ty), Unit);
tools/clang/lib/CodeGen/CGDebugInfo.h 93 const ObjCInterfaceType *Type;
96 ObjCInterfaceCacheEntry(const ObjCInterfaceType *Type, llvm::DIType *Decl,
171 llvm::DIType *CreateType(const ObjCInterfaceType *Ty, llvm::DIFile *F);
172 llvm::DIType *CreateTypeDefinition(const ObjCInterfaceType *Ty,
tools/clang/lib/CodeGen/CGObjCGNU.cpp 2407 const ObjCInterfaceType *IT = PT->getInterfaceType();
tools/clang/lib/CodeGen/CGObjCMac.cpp 7649 const ObjCInterfaceType *IT = PT->getInterfaceType();
tools/clang/lib/CodeGen/CodeGenTypes.cpp 624 llvm::Type *&T = InterfaceTypes[cast<ObjCInterfaceType>(Ty)];
tools/clang/lib/CodeGen/CodeGenTypes.h 75 llvm::DenseMap<const ObjCInterfaceType*, llvm::Type *> InterfaceTypes;
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 3239 if (cast<ObjCInterfaceType>(Ty)->getDecl()->getSuperClass()) {
3560 ObjCInterfaceDecl *Class = cast<ObjCInterfaceType>(T)->getDecl();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 534 const ObjCInterfaceType *IFaceT = OBJPT->getInterfaceType();
553 if (isa<ObjCInterfaceType>(PT->getPointeeType()) ||
7453 const ObjCInterfaceType *iFaceDecl =
7454 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 441 const ObjCInterfaceType *IFaceT = OBJPT->getInterfaceType();
460 if (isa<ObjCInterfaceType>(PT->getPointeeType()) ||
5806 const ObjCInterfaceType *iFaceDecl =
5807 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
5847 const ObjCInterfaceType *iFaceDecl =
5848 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
tools/clang/lib/Index/USRGeneration.cpp 828 if (const ObjCInterfaceType *OIT = T->getAs<ObjCInterfaceType>()) {
828 if (const ObjCInterfaceType *OIT = T->getAs<ObjCInterfaceType>()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp 1588 if (type->getAs<ObjCInterfaceType>()) {
tools/clang/lib/Sema/SemaExpr.cpp14744 if (const ObjCInterfaceType *IFaceT =
14755 if (const ObjCInterfaceType *IFaceT =
tools/clang/lib/Sema/SemaExprObjC.cpp 1823 const ObjCInterfaceType *IFaceT = OPT->getInterfaceType();
2356 const auto *IT = ReceiverType->getAs<ObjCInterfaceType>();
2356 const auto *IT = ReceiverType->getAs<ObjCInterfaceType>();
tools/clang/lib/Sema/SemaOverload.cpp 2463 const ObjCInterfaceType* LHS = ToObjCPtr->getInterfaceType();
2464 const ObjCInterfaceType* RHS = FromObjCPtr->getInterfaceType();
tools/clang/lib/Sema/SemaTemplate.cpp 5664 const ObjCInterfaceType *) {
tools/clang/lib/Sema/SemaType.cpp 3696 if (auto objcClass = type->getAs<ObjCInterfaceType>()) {
tools/clang/lib/Sema/TreeTransform.h 6454 TLB.pushFullCopy(TL);
6454 TLB.pushFullCopy(TL);
6455 return TL.getType();
tools/clang/lib/Serialization/ASTReader.cpp 9981 const_cast<ObjCInterfaceType *>(cast<ObjCInterfaceType>(ID->TypeForDecl))
tools/clang/lib/Serialization/ASTWriter.cpp 541 void ASTTypeWriter::VisitObjCInterfaceType(const ObjCInterfaceType *T) {
tools/clang/tools/extra/clangd/FindTarget.cpp 289 void VisitObjCInterfaceType(const ObjCInterfaceType *OIT) {
tools/clang/tools/libclang/CXType.cpp 501 D = cast<ObjCInterfaceType>(TP)->getDecl();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 506 const ObjCInterfaceType *complete_interface_type =
507 dyn_cast<ObjCInterfaceType>(complete_clang_type);
tools/lldb/source/Symbol/ClangASTContext.cpp 4554 const clang::ObjCInterfaceType *objc_interface_type =
4664 const clang::ObjCInterfaceType *objc_interface_type =
5872 const clang::ObjCInterfaceType *objc_interface_type =
6021 const clang::ObjCInterfaceType *objc_interface_type =
6124 const clang::ObjCInterfaceType *objc_interface_type =
6125 qual_type->getAs<clang::ObjCInterfaceType>();
6282 qual_type->getAs<clang::ObjCInterfaceType>();
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
1447 : public __and_<is_destructible<_Tp>, integral_constant<bool,
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };