Home
last modified time | relevance | path

Searched refs:ObjCObjectType (Results 1 – 25 of 54) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DType.cpp681 const ObjCObjectType *&bound) const { in isObjCIdOrObjectKindOfType()
702 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
731 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
753 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
759 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isSpecialized()
771 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const { in getTypeArgs()
777 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in getTypeArgs()
789 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
794 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isKindOfType()
806 QualType ObjCObjectType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
[all …]
H A DExprObjC.cpp333 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
H A DASTContext.cpp2246 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
5095 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
5103 if (const auto *baseObject = baseType->getAs<ObjCObjectType>()) in getObjCObjectType()
5177 const ObjCObjectType *objT = objPtr->getObjectType(); in applyObjCProtocolQualifiers()
5194 if (const auto *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){ in applyObjCProtocolQualifiers()
7647 ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface(); in getObjCEncodingForTypeImpl()
8907 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
8908 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
9036 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
9037 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
[all …]
H A DMicrosoftMangle.cpp443 void mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals,
1906 void MicrosoftCXXNameMangler::mangleObjCKindOfType(const ObjCObjectType *T, in mangleObjCKindOfType()
1917 ->getAs<ObjCObjectType>(), in mangleObjCKindOfType()
3128 void MicrosoftCXXNameMangler::mangleType(const ObjCObjectType *T, in mangleType()
H A DASTStructuralEquivalence.cpp1172 const auto *Obj1 = cast<ObjCObjectType>(T1); in IsStructurallyEquivalent()
1173 const auto *Obj2 = cast<ObjCObjectType>(T2); in IsStructurallyEquivalent()
H A DTypePrinter.cpp1776 void TypePrinter::printObjCObjectBefore(const ObjCObjectType *T, in printObjCObjectBefore()
1817 void TypePrinter::printObjCObjectAfter(const ObjCObjectType *T, in printObjCObjectAfter()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp59 const ObjCObjectType *getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE,
123 const ObjCObjectType *Type = nullptr;
140 return {MessageExpr->getClassReceiver()->getAs<ObjCObjectType>(), in inferReceiverType()
150 return {MessageExpr->getSuperType()->getAs<ObjCObjectType>(), in inferReceiverType()
195 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType()
207 if (const ObjCObjectType *ObjTy = dyn_cast<ObjCObjectType>( in inferReceiverType()
490 To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp499 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration()
1165 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCObjectBaseType()
1177 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCProtocolRefs()
1189 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCProtocolDecl()
1205 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCTypeArgs()
1217 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCTypeArg()
H A DCIndexCodeCompletion.cpp623 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
H A DCXIndexDataConsumer.cpp317 if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) { in AttrListInfo()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DBuiltinTypes.def228 // ObjCObjectType with this as its base. In fact, this only ever
229 // shows up in an AST as the base type of an ObjCObjectType.
234 // ObjCObjectType with this as its base. In fact, this only ever
235 // shows up in an AST as the base type of an ObjCObjectType.
H A DType.h1620 friend class ObjCObjectType;
2078 const ObjCObjectType *&bound) const;
2236 const ObjCObjectType *getAsObjCInterfaceType() const;
2243 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
5818 class ObjCObjectType : public Type,
5819 public ObjCProtocolQualifiers<ObjCObjectType> {
5820 friend class ObjCProtocolQualifiers<ObjCObjectType>;
5838 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
5843 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
5859 ObjCObjectType(QualType Canonical, QualType Base,
[all …]
H A DCanonicalType.h579 struct CanProxyAdaptor<ObjCObjectType>
580 : public CanProxyBase<ObjCObjectType> {
H A DDeclObjC.h1541 const ObjCObjectType *getSuperClassType() const { in getSuperClassType()
1543 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTypeNodes.td105 def ObjCObjectType : TypeNode<Type>;
106 def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexBody.cpp263 auto addReceivers = [&](const ObjCObjectType *Ty) { in VisitObjCMessageExpr()
279 addReceivers(recT->getAs<ObjCObjectType>()); in VisitObjCMessageExpr()
H A DUSRGeneration.cpp841 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprMember.cpp1193 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1308 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1488 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
H A DSemaDeclObjC.cpp52 const ObjCObjectType *result = in checkInitMethod()
590 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnSuperClassOfClassInterface()
1123 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) { in ActOnTypedefedProtocols()
1158 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1438 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
3074 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
3463 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound()
3499 const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()
H A DSemaExprObjC.cpp1938 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
2644 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
2948 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
H A DSemaAvailability.cpp871 } else if (const auto *ObjCO = dyn_cast<ObjCObjectType>(TyPtr)) { in VisitTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1245 const ObjCObjectType *ReceiverT = nullptr; in getRuntimeDefinition()
1296 cast<ObjCObjectType>(DTI.getType().getCanonicalType()); in getRuntimeDefinition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp141 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h200 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
H A DCodeGenTypes.cpp710 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType()

123