reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/include/clang/AST/Type.h
 5767 class ObjCObjectTypeImpl : public ObjCObjectType, public llvm::FoldingSetNode {
 5814 class ObjCInterfaceType : public ObjCObjectType {

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   53 TYPE(ObjCObject, Type)

References

include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
  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,
  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) {
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  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;
  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;
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/ASTContext.h
 2599   bool canAssignObjCInterfaces(const ObjCObjectType *LHS,
 2600                                const ObjCObjectType *RHS);
tools/clang/include/clang/AST/CanonicalType.h
   83   const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
   83   const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
   87   const T *getTypePtrOrNull() const {
  126   CanProxy<T> operator->() const;
  157   CanQual<T> getUnqualifiedType() const;
  167   bool isMoreQualifiedThan(CanQual<T> Other) const {
  173   bool isAtLeastAsQualifiedAs(CanQual<T> Other) const {
  185   static CanQual<T> getFromOpaquePtr(void *Ptr);
  192   static CanQual<T> CreateUnsafe(QualType Other);
  241   CanQual<T> Stored;
  245   const T *getTypePtr() const { return Stored.getTypePtr(); }
  254   operator const T*() const { return this->Stored.getTypePtrOrNull(); }
  321   const CanProxyAdaptor<T> *operator->() const {
  578   : public CanProxyBase<ObjCObjectType> {
tools/clang/include/clang/AST/DeclObjC.h
 1564   const ObjCObjectType *getSuperClassType() const {
 1566       return TInfo->getType()->castAs<ObjCObjectType>();
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1092   if (T->getBaseType().getTypePtr() != T)
 1092   if (T->getBaseType().getTypePtr() != T)
 1093     TRY_TO(TraverseType(T->getBaseType()));
 1094   for (auto typeArg : T->getTypeArgsAsWritten()) {
 1348   if (TL.getTypePtr()->getBaseType().getTypePtr() != TL.getTypePtr())
 1348   if (TL.getTypePtr()->getBaseType().getTypePtr() != TL.getTypePtr())
 1349     TRY_TO(TraverseTypeLoc(TL.getBaseLoc()));
 1350   for (unsigned i = 0, n = TL.getNumTypeArgs(); i != n; ++i)
 1351     TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
tools/clang/include/clang/AST/Type.h
 2049                                   const ObjCObjectType *&bound) const;
 2185   const ObjCObjectType *getAsObjCInterfaceType() const;
 2192   const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
 2237   template <typename T> const T *getAs() const;
 2256   template <typename T> const T *castAs() const;
 5615                        public ObjCProtocolQualifiers<ObjCObjectType> {
 5634   mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
 5767 class ObjCObjectTypeImpl : public ObjCObjectType, public llvm::FoldingSetNode {
 5814 class ObjCInterfaceType : public ObjCObjectType {
 5851   while (const auto *ObjT = baseType->getAs<ObjCObjectType>()) {
 5851   while (const auto *ObjT = baseType->getAs<ObjCObjectType>()) {
 5911   const ObjCObjectType *getObjectType() const {
 5912     return PointeeType->castAs<ObjCObjectType>();
 5990   using qual_iterator = ObjCObjectType::qual_iterator;
 6500   return isa<ObjCObjectType>(CanonicalType);
 6505     isa<ObjCObjectType>(CanonicalType);
 6859   static_assert(!TypeIsArrayType<T>::value,
 6863   if (const auto *Ty = dyn_cast<T>(this))
 6863   if (const auto *Ty = dyn_cast<T>(this))
 6867   if (!isa<T>(CanonicalType))
 6872   return cast<T>(getUnqualifiedDesugaredType());
 6924   static_assert(!TypeIsArrayType<T>::value,
 6927   if (const auto *ty = dyn_cast<T>(this)) return ty;
 6927   if (const auto *ty = dyn_cast<T>(this)) return ty;
 6929   return cast<T>(getUnqualifiedDesugaredType());
tools/clang/include/clang/AST/TypeLoc.h
  370     return TypeClass::classof(Ty);
  405   const TypeClass *getTypePtr() const {
  406     return cast<TypeClass>(Base::getTypePtr());
  921                                                  ObjCObjectType,
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  804     if (const auto *S = dyn_cast<ObjCObjectType>(EffectiveType)) {
  804     if (const auto *S = dyn_cast<ObjCObjectType>(EffectiveType)) {
tools/clang/include/clang/Sema/Sema.h
 3927                                      const ObjCObjectType *TypeBound = nullptr);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  545     if (T->getAs<ObjCObjectType>())
tools/clang/lib/AST/ASTContext.cpp
 2090     return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr());
 4576   if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos))
 4584     if (const auto *baseObject = baseType->getAs<ObjCObjectType>())
 4584     if (const auto *baseObject = baseType->getAs<ObjCObjectType>())
 4658       const ObjCObjectType *objT = objPtr->getObjectType();
 4675   if (const auto *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){
 4675   if (const auto *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){
 7032     ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface();
 8143   const ObjCObjectType* LHS = LHSOPT->getObjectType();
 8144   const ObjCObjectType* RHS = RHSOPT->getObjectType();
 8264   const ObjCObjectType* LHS = LHSOPT->getObjectType();
 8265   const ObjCObjectType* RHS = RHSOPT->getObjectType();
 8383   const ObjCObjectType *LHS = Lptr->getObjectType();
 8384   const ObjCObjectType *RHS = Rptr->getObjectType();
 8398   llvm::SmallDenseMap<const ObjCInterfaceDecl *, const ObjCObjectType *, 4>
 8447     LHS = LHSSuperType->castAs<ObjCObjectType>();
 8497     RHS = RHSSuperType->castAs<ObjCObjectType>();
 8503 bool ASTContext::canAssignObjCInterfaces(const ObjCObjectType *LHS,
 8504                                          const ObjCObjectType *RHS) {
 8549     const ObjCObjectType *RHSSuper = RHS;
 8551       RHSSuper = RHSSuper->getSuperClassType()->castAs<ObjCObjectType>();
 9143     if (canAssignObjCInterfaces(LHS->castAs<ObjCObjectType>(),
 9144                                 RHS->castAs<ObjCObjectType>()))
tools/clang/lib/AST/ASTDiagnostic.cpp
  194   } else if (const auto *Ty = QT->getAs<ObjCObjectType>()) {
  194   } else if (const auto *Ty = QT->getAs<ObjCObjectType>()) {
tools/clang/lib/AST/ASTImporter.cpp
  352     ExpectedType VisitObjCObjectType(const ObjCObjectType *T);
 1502 ExpectedType ASTNodeImporter::VisitObjCObjectType(const ObjCObjectType *T) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  903     const auto *Obj1 = cast<ObjCObjectType>(T1);
  903     const auto *Obj1 = cast<ObjCObjectType>(T1);
  904     const auto *Obj2 = cast<ObjCObjectType>(T2);
  904     const auto *Obj2 = cast<ObjCObjectType>(T2);
tools/clang/lib/AST/DeclObjC.cpp
  345   if (const ObjCObjectType *superType = getSuperClassType()) {
tools/clang/lib/AST/ExprObjC.cpp
  364   if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>())
  364   if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>())
tools/clang/lib/AST/ItaniumMangle.cpp
 3258 void CXXNameMangler::mangleType(const ObjCObjectType *T) {
tools/clang/lib/AST/MicrosoftMangle.cpp
  390   void mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals,
 1592 void MicrosoftCXXNameMangler::mangleObjCKindOfType(const ObjCObjectType *T,
 1603                        ->getAs<ObjCObjectType>(),
 2769 void MicrosoftCXXNameMangler::mangleType(const ObjCObjectType *T,
tools/clang/lib/AST/ODRHash.cpp
  913   void VisitObjCObjectType(const ObjCObjectType *T) {
tools/clang/lib/AST/Type.cpp
  613                                       const ObjCObjectType *&bound) const {
  634             ->getAs<ObjCObjectType>();
  704   if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
  722   if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
  739   if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
  759   if (const auto *baseObj = splitBaseType.Ty->getAs<ObjCObjectType>())
  759   if (const auto *baseObj = splitBaseType.Ty->getAs<ObjCObjectType>())
 1123   QualType VisitObjCObjectType(const ObjCObjectType *T) {
 1231       const auto *obj = objPtr->getObjectType();
 1313   QualType VisitObjCObjectType(const ObjCObjectType *objcObjectType) {
 1368     const ObjCObjectType *objType = ptrType
 1370                                         : newEquivType->getAs<ObjCObjectType>();
 1398   QualType VisitObjCObjectType(const ObjCObjectType *objType) {
 1480   const ObjCObjectType *objectType;
 1486                    ->castAs<ObjCObjectType>();
 1488     objectType = getAs<ObjCObjectType>();
 1510     objectType = superType->castAs<ObjCObjectType>();
 1546   const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType();
 1564       superClassType->castAs<ObjCObjectType>(), true);
 1579       superClassType->castAs<ObjCObjectType>(), true);
 1590       unspecializedSuper->castAs<ObjCObjectType>(),
 1601       ->castAs<ObjCObjectType>(),
 1623 const ObjCObjectType *Type::getAsObjCQualifiedInterfaceType() const {
 1627   if (const auto *T = getAs<ObjCObjectType>())
 1627   if (const auto *T = getAs<ObjCObjectType>())
 1657 const ObjCObjectType *Type::getAsObjCInterfaceType() const {
 1658   if (const auto *OT = getAs<ObjCObjectType>()) {
 1658   if (const auto *OT = getAs<ObjCObjectType>()) {
 2171     return cast<ObjCObjectType>(CanonicalType)->getBaseType()
 3701     return Cache::get(cast<ObjCObjectType>(T)->getBaseType());
 3784     return computeTypeLinkageInfo(cast<ObjCObjectType>(T)->getBaseType());
tools/clang/lib/AST/TypePrinter.cpp
 1593 void TypePrinter::printObjCObjectBefore(const ObjCObjectType *T,
 1634 void TypePrinter::printObjCObjectAfter(const ObjCObjectType *T,
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2289 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectType *Ty,
 3019     return CreateType(cast<ObjCObjectType>(Ty), Unit);
tools/clang/lib/CodeGen/CGDebugInfo.h
  175   llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
tools/clang/lib/CodeGen/CGExpr.cpp
 3533   } else if (const ObjCObjectType *OIT = E->getType()->getAs<ObjCObjectType>()){
 3533   } else if (const ObjCObjectType *OIT = E->getType()->getAs<ObjCObjectType>()){
tools/clang/lib/CodeGen/CGObjC.cpp
  476     const ObjCObjectType *ObjTy = ReceiverType->getAs<ObjCObjectType>();
  476     const ObjCObjectType *ObjTy = ReceiverType->getAs<ObjCObjectType>();
  543     const ObjCObjectType *ObjTy = ReceiverType->getAs<ObjCObjectType>();
  543     const ObjCObjectType *ObjTy = ReceiverType->getAs<ObjCObjectType>();
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 4043     ObjectTy->castAs<ObjCObjectType>()->getInterface();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4646       const ObjCObjectType *ObjTy = OPT->getObjectType();
 4903     ObjectTy->castAs<ObjCObjectType>()->getInterface();
 7055   ObjCInterfaceDecl *ID = ObjectTy->castAs<ObjCObjectType>()->getInterface();
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  617     ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2790   void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty);
 3227     Ty = cast<ObjCObjectType>(Ty)->getBaseType().getTypePtr();
 3472     BuildObjCObjectTypeInfo(cast<ObjCObjectType>(Ty));
 3551 void ItaniumRTTIBuilder::BuildObjCObjectTypeInfo(const ObjCObjectType *OT) {
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
  141   const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>();
  141   const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 2754     expType->getPointeeType()->castAs<ObjCObjectType>()->getInterface();
 2896   expType->getPointeeType()->castAs<ObjCObjectType>()->getInterface();
 3311       = Exp->getClassReceiver()->castAs<ObjCObjectType>()->getInterface();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 2740         Exp->getClassReceiver()->castAs<ObjCObjectType>()->getInterface();
tools/clang/lib/Index/IndexBody.cpp
  279           addReceivers(recT->getAs<ObjCObjectType>());
tools/clang/lib/Index/USRGeneration.cpp
  833     if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) {
  833     if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4799         Class = BaseType->getAs<ObjCObjectType>()->getInterface();
 6433     if (const ObjCObjectType *ObjType =
 6434             Msg->getClassReceiver()->getAs<ObjCObjectType>())
 6665       if (const ObjCObjectType *Iface =
 6666               Context.getTypeDeclType(TD)->getAs<ObjCObjectType>())
 6741       if (const ObjCObjectType *Interface = T->getAs<ObjCObjectType>())
 6741       if (const ObjCObjectType *Interface = T->getAs<ObjCObjectType>())
tools/clang/lib/Sema/SemaDeclAttr.cpp
 8421   } else if (const auto *ObjCO = dyn_cast<ObjCObjectType>(TyPtr)) {
 8421   } else if (const auto *ObjCO = dyn_cast<ObjCObjectType>(TyPtr)) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
   51   const ObjCObjectType *result =
  589           if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) {
 1119       if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) {
 1119       if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) {
 1154       if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) {
 1433       if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) {
 1433       if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) {
 3058         if (isa<ObjCObjectType>(TDD->getUnderlyingType())) {
 3438                                      const ObjCObjectType *TypeBound) {
 3474     const ObjCObjectType *TypeBound) {
tools/clang/lib/Sema/SemaExpr.cpp
  513   if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>())
  513   if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>())
tools/clang/lib/Sema/SemaExprCXX.cpp
 5085       const ObjCObjectType *LHSObjTy = LhsT->getAs<ObjCObjectType>();
 5085       const ObjCObjectType *LHSObjTy = LhsT->getAs<ObjCObjectType>();
 5086       const ObjCObjectType *RHSObjTy = RhsT->getAs<ObjCObjectType>();
 5086       const ObjCObjectType *RHSObjTy = RhsT->getAs<ObjCObjectType>();
tools/clang/lib/Sema/SemaExprMember.cpp
 1196   const ObjCObjectType *ty = opty->getObjectType();
 1311   if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) {
 1311   if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) {
 1491     const ObjCObjectType *OT = OPT->getObjectType();
tools/clang/lib/Sema/SemaExprObjC.cpp
 1779   const ObjCObjectType *objType = type->castAs<ObjCObjectType>();
 1779   const ObjCObjectType *objType = type->castAs<ObjCObjectType>();
 2485   const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
 2485   const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>();
 2784     const ObjCObjectType *typeBound = nullptr;
tools/clang/lib/Sema/SemaStmt.cpp
 1855   const ObjCObjectType *objectType = pointerType->getObjectType();
tools/clang/lib/Sema/SemaTemplate.cpp
 5659 bool UnnamedLocalNoLinkageFinder::VisitObjCObjectType(const ObjCObjectType *) {
tools/clang/lib/Sema/SemaType.cpp
  837   const auto *objcObjectType = type->getAs<ObjCObjectType>();
  837   const auto *objcObjectType = type->getAs<ObjCObjectType>();
 4428       if (LangOpts.ObjC && T->getAs<ObjCObjectType>()) {
 6664   const ObjCObjectType *objType = ptrType ? ptrType->getObjectType()
 6665                                           : type->getAs<ObjCObjectType>();
tools/clang/lib/Sema/TreeTransform.h
 4587   if (PointeeType->getAs<ObjCObjectType>()) {
 6496   QualType BaseType = getDerived().TransformType(TLB, TL.getBaseLoc());
 6496   QualType BaseType = getDerived().TransformType(TLB, TL.getBaseLoc());
 6500   bool AnyChanged = BaseType != TL.getBaseLoc().getType();
 6504   for (unsigned i = 0, n = TL.getNumTypeArgs(); i != n; ++i) {
 6505     TypeSourceInfo *TypeArgInfo = TL.getTypeArgTInfo(i);
 6545         auto NewExpansionLoc = TLB.push<PackExpansionTypeLoc>(NewExpansionType);
 6589   QualType Result = TL.getType();
 6593         BaseType, TL.getBeginLoc(), TL.getTypeArgsLAngleLoc(), NewTypeArgInfos,
 6593         BaseType, TL.getBeginLoc(), TL.getTypeArgsLAngleLoc(), NewTypeArgInfos,
 6594         TL.getTypeArgsRAngleLoc(), TL.getProtocolLAngleLoc(),
 6594         TL.getTypeArgsRAngleLoc(), TL.getProtocolLAngleLoc(),
 6595         llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), TL.getNumProtocols()),
 6595         llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), TL.getNumProtocols()),
 6596         TL.getProtocolLocs(), TL.getProtocolRAngleLoc());
 6596         TL.getProtocolLocs(), TL.getProtocolRAngleLoc());
 6602   ObjCObjectTypeLoc NewT = TLB.push<ObjCObjectTypeLoc>(Result);
 6604   NewT.setTypeArgsLAngleLoc(TL.getTypeArgsLAngleLoc());
 6605   for (unsigned i = 0, n = TL.getNumTypeArgs(); i != n; ++i)
 6607   NewT.setTypeArgsRAngleLoc(TL.getTypeArgsRAngleLoc());
 6608   NewT.setProtocolLAngleLoc(TL.getProtocolLAngleLoc());
 6609   for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i)
 6610     NewT.setProtocolLoc(i, TL.getProtocolLoc(i));
 6611   NewT.setProtocolRAngleLoc(TL.getProtocolRAngleLoc());
tools/clang/lib/Serialization/ASTWriter.cpp
  554 void ASTTypeWriter::VisitObjCObjectType(const ObjCObjectType *T) {
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
   58   const ObjCObjectType *getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE,
  213         const ObjCObjectType *ObjTy = getObjectTypeForAllocAndNew(MsgE, C);
  306 const ObjCObjectType *
  310     if (const ObjCObjectType *ObjTy
  311           = MsgE->getClassReceiver()->getAs<ObjCObjectType>())
  316     if (const ObjCObjectType *ObjTy
  317           = MsgE->getSuperType()->getAs<ObjCObjectType>())
  332         if (const ObjCObjectType *ObjTy =
  333             dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl()))
  396   const auto *SuperOfTo =
  397       To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>();
  830     const auto *ReceiverClassType = ReceiverType->castAs<ObjCObjectType>();
  830     const auto *ReceiverClassType = ReceiverType->castAs<ObjCObjectType>();
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  886       } else if (T->getAs<ObjCObjectType>()) {
tools/clang/tools/extra/clangd/FindTarget.cpp
  292       void VisitObjCObjectType(const ObjCObjectType *OOT) {
tools/clang/tools/libclang/CIndex.cpp
  562     if (const ObjCObjectType *ObjT = A->getInterface()->getAs<ObjCObjectType>())
  562     if (const ObjCObjectType *ObjT = A->getInterface()->getAs<ObjCObjectType>())
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  624         else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>())
  624         else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>())
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  317     if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) {
  317     if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) {
tools/clang/tools/libclang/CXType.cpp
  498     D = cast<ObjCObjectType>(TP)->getInterface();
 1162   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1162   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1174   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1174   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1186   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1186   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1202   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1202   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1214   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
 1214   const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T);
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  333     if (expr_qual_type->getAs<ObjCObjectType>() != nullptr)
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 2236     } else if (const ObjCObjectType *objc_object_type =
 2237                    qual_type->getAs<ObjCObjectType>()) {
tools/lldb/source/Symbol/ClangASTContext.cpp
 2564     return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr())
 2669     const clang::ObjCObjectType *objc_class_type =
 2670         llvm::dyn_cast<clang::ObjCObjectType>(qual_type);
 3590     const clang::ObjCObjectType *objc_class_type =
 3591         llvm::dyn_cast<clang::ObjCObjectType>(qual_type);
 3689                   llvm::dyn_cast_or_null<clang::ObjCObjectType>(
 4572         const clang::ObjCObjectType *objc_class_type =
 4573             llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 4696         const clang::ObjCObjectType *objc_class_type =
 4697             llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 5583       const clang::ObjCObjectType *objc_class_type =
 5584           llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 5889       const clang::ObjCObjectType *objc_class_type =
 5890           llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 6041       const clang::ObjCObjectType *objc_class_type =
 6042           llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 6111       const clang::ObjCObjectType *objc_class_type =
 6259       const clang::ObjCObjectType *objc_class_type =
 6281       const clang::ObjCObjectType *objc_interface_type =
 6728       const clang::ObjCObjectType *objc_class_type =
 6729           llvm::dyn_cast<clang::ObjCObjectType>(parent_qual_type.getTypePtr());
 7252         const clang::ObjCObjectType *objc_class_type =
 7253             llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 7482         const clang::ObjCObjectType *objc_class_type =
 7483             llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 7857   const clang::ObjCObjectType *objc_class_type =
 7858       llvm::dyn_cast<clang::ObjCObjectType>(
 8720     const clang::ObjCObjectType *objc_class_type =
 8721         llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 8779     const clang::ObjCObjectType *object_type =
 8780         qual_type->getAs<clang::ObjCObjectType>();
 9655       const clang::ObjCObjectType *objc_class_type =
 9656           llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr());
 9765       const clang::ObjCObjectType *objc_class_type =
 9766           llvm::dyn_cast<clang::ObjCObjectType>(qual_type);
tools/lldb/source/Symbol/ClangASTImporter.cpp
  436     const clang::ObjCObjectType *objc_class_type =
  437         llvm::dyn_cast<clang::ObjCObjectType>(qual_type);
  512     const clang::ObjCObjectType *objc_class_type =
  513         llvm::dyn_cast<clang::ObjCObjectType>(qual_type);
  739   if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) {
  739   if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) {
  784   if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) {
  784   if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) {
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; };