Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp685 const ObjCObjectType *&bound) const { in isObjCIdOrObjectKindOfType()
706 ->getAs<ObjCObjectType>(); in isObjCIdOrObjectKindOfType()
734 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
756 bool ObjCObjectType::isSpecialized() const { in isSpecialized()
762 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isSpecialized()
774 ArrayRef<QualType> ObjCObjectType::getTypeArgs() const { in getTypeArgs()
780 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in getTypeArgs()
792 bool ObjCObjectType::isKindOfType() const { in isKindOfType()
797 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) { in isKindOfType()
809 QualType ObjCObjectType::stripObjCKindOfTypeAndQuals( in stripObjCKindOfTypeAndQuals()
[all …]
H A DExprObjC.cpp320 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>()) in getReceiverInterface()
H A DASTContext.cpp2298 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
5318 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
5326 if (const auto *baseObject = baseType->getAs<ObjCObjectType>()) in getObjCObjectType()
5397 const ObjCObjectType *objT = objPtr->getObjectType(); in applyObjCProtocolQualifiers()
5414 if (const auto *objT = dyn_cast<ObjCObjectType>(type.getTypePtr())){ in applyObjCProtocolQualifiers()
8400 ObjCInterfaceDecl *OI = T->castAs<ObjCObjectType>()->getInterface(); in getObjCEncodingForTypeImpl()
9684 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
9685 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
9813 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
9814 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
[all …]
H A DMicrosoftMangle.cpp458 void mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals,
1941 void MicrosoftCXXNameMangler::mangleObjCKindOfType(const ObjCObjectType *T, in mangleObjCKindOfType()
1952 ->castAs<ObjCObjectType>(), in mangleObjCKindOfType()
3179 void MicrosoftCXXNameMangler::mangleType(const ObjCObjectType *T, in mangleType()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp515 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration()
1189 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCObjectBaseType()
1201 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCProtocolRefs()
1213 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCProtocolDecl()
1229 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getNumObjCTypeArgs()
1241 const ObjCObjectType *OT = dyn_cast<ObjCObjectType>(T); in clang_Type_getObjCTypeArg()
H A DCIndexCodeCompletion.cpp624 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
H A DCXIndexDataConsumer.cpp322 if (const ObjCObjectType *ObjectTy = Ty->getAs<ObjCObjectType>()) { in AttrListInfo()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp121 const ObjCObjectType *Type = nullptr;
138 return {MessageExpr->getClassReceiver()->getAs<ObjCObjectType>(), in inferReceiverType()
148 return {MessageExpr->getSuperType()->getAs<ObjCObjectType>(), in inferReceiverType()
193 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType()
205 if (const ObjCObjectType *ObjTy = dyn_cast<ObjCObjectType>( in inferReceiverType()
488 To->getObjectType()->getSuperClassType()->castAs<ObjCObjectType>(); in getMostInformativeDerivedClassImpl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp161 } else if (const ObjCObjectType *objc_object_type = in AddTypeDecl()
162 qual_type->getAs<ObjCObjectType>()) { in AddTypeDecl()
H A DClangASTImporter.cpp388 const clang::ObjCObjectType *objc_class_type = in CanImport()
389 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in CanImport()
462 const clang::ObjCObjectType *objc_class_type = in Import()
463 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in Import()
653 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in CompleteAndFetchChildren()
697 if (const ObjCObjectType *objc_object_type = type->getAs<ObjCObjectType>()) { in RequireCompleteType()
H A DASTResultSynthesizer.cpp349 if (expr_qual_type->getAs<ObjCObjectType>() != nullptr) in SynthesizeBodyResult()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DBuiltinTypes.def231 // ObjCObjectType with this as its base. In fact, this only ever
232 // shows up in an AST as the base type of an ObjCObjectType.
237 // ObjCObjectType with this as its base. In fact, this only ever
238 // shows up in an AST as the base type of an ObjCObjectType.
H A DType.h1704 friend class ObjCObjectType;
2215 const ObjCObjectType *&bound) const;
2376 const ObjCObjectType *getAsObjCInterfaceType() const;
2383 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
6026 class ObjCObjectType : public Type,
6027 public ObjCProtocolQualifiers<ObjCObjectType> {
6028 friend class ObjCProtocolQualifiers<ObjCObjectType>;
6046 mutable llvm::PointerIntPair<const ObjCObjectType *, 1, bool>
6051 return const_cast<ObjCObjectType *>(this)->getTypeArgStorage();
6067 ObjCObjectType(QualType Canonical, QualType Base,
[all …]
H A DCanonicalType.h578 struct CanProxyAdaptor<ObjCObjectType>
579 : public CanProxyBase<ObjCObjectType> {
H A DDeclObjC.h1553 const ObjCObjectType *getSuperClassType() const { in getSuperClassType()
1555 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTypeNodes.td107 def ObjCObjectType : TypeNode<Type>;
108 def ObjCInterfaceType : TypeNode<ObjCObjectType>, LeafType;
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2676 return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr()) in GetDeclContextForType()
2769 const clang::ObjCObjectType *objc_class_type = in GetCompleteQualType()
2770 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in GetCompleteQualType()
3500 const clang::ObjCObjectType *objc_class_type = in IsDefined()
3501 llvm::dyn_cast<clang::ObjCObjectType>(qual_type); in IsDefined()
3599 llvm::dyn_cast_or_null<clang::ObjCObjectType>( in IsPossibleDynamicType()
4433 const clang::ObjCObjectType *objc_class_type = in GetNumMemberFunctions()
4434 llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr()); in GetNumMemberFunctions()
4531 const clang::ObjCObjectType *objc_class_type = in GetMemberFunctionAtIndex()
4532 llvm::dyn_cast<clang::ObjCObjectType>(qual_type.getTypePtr()); in GetMemberFunctionAtIndex()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexBody.cpp267 auto addReceivers = [&](const ObjCObjectType *Ty) { in VisitObjCMessageExpr()
283 addReceivers(recT->getAs<ObjCObjectType>()); in VisitObjCMessageExpr()
H A DUSRGeneration.cpp883 if (const ObjCObjectType *OIT = T->getAs<ObjCObjectType>()) { in VisitType()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprMember.cpp1195 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1325 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1505 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()
1132 if (const ObjCObjectType *OPT = T->getAs<ObjCObjectType>()) { in ActOnTypedefedProtocols()
1167 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1454 if (const auto *objcObjectType = base->getAs<ObjCObjectType>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
3088 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
3479 const ObjCObjectType *TypeBound) { in FilterMethodsByTypeBound()
3515 const ObjCObjectType *TypeBound) { in CollectMultipleMethodsInGlobalPool()
H A DSemaExprObjC.cpp1936 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
2642 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
2944 const ObjCObjectType *typeBound = nullptr; in BuildInstanceMessage()
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp142 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1250 const ObjCObjectType *ReceiverT = nullptr; in getRuntimeDefinition()
1301 cast<ObjCObjectType>(DTI.getType().getCanonicalType()); in getRuntimeDefinition()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h202 llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);

123