Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp31 const ObjCObjectType *getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE,
127 const ObjCObjectType *ObjTy = getObjectTypeForAllocAndNew(MsgE, C); in checkPostCall()
193 const ObjCObjectType *
197 if (const ObjCObjectType *ObjTy in getObjectTypeForAllocAndNew()
198 = MsgE->getClassReceiver()->getAs<ObjCObjectType>()) in getObjectTypeForAllocAndNew()
203 if (const ObjCObjectType *ObjTy in getObjectTypeForAllocAndNew()
204 = MsgE->getSuperType()->getAs<ObjCObjectType>()) in getObjectTypeForAllocAndNew()
219 if (const ObjCObjectType *ObjTy = in getObjectTypeForAllocAndNew()
220 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
/external/clang/include/clang/AST/
DBuiltinTypes.def143 // ObjCObjectType with this as its base. In fact, this only ever
144 // shows up in an AST as the base type of an ObjCObjectType.
149 // ObjCObjectType with this as its base. In fact, this only ever
150 // shows up in an AST as the base type of an ObjCObjectType.
DType.h1268 friend class ObjCObjectType;
1669 const ObjCObjectType *getAsObjCQualifiedInterfaceType() const;
4180 class ObjCObjectType : public Type {
4195 return const_cast<ObjCObjectType*>(this)->getProtocolStorage();
4201 ObjCObjectType(QualType Canonical, QualType Base,
4205 ObjCObjectType(enum Nonce_ObjCInterface)
4272 class ObjCObjectTypeImpl : public ObjCObjectType, public llvm::FoldingSetNode {
4281 : ObjCObjectType(Canonical, Base, Protocols, NumProtocols) {}
4291 inline ObjCProtocolDecl **ObjCObjectType::getProtocolStorage() {
4309 class ObjCInterfaceType : public ObjCObjectType {
[all …]
DCanonicalType.h634 struct CanProxyAdaptor<ObjCObjectType>
635 : public CanProxyBase<ObjCObjectType> {
DTypeNodes.def103 TYPE(ObjCInterface, ObjCObjectType)
DASTContext.h1914 bool canAssignObjCInterfaces(const ObjCObjectType *LHS,
1915 const ObjCObjectType *RHS);
DRecursiveASTVisitor.h966 DEF_TRAVERSE_TYPE(ObjCObjectType, {
1198 DEF_TRAVERSE_TYPELOC(ObjCObjectType, {
/external/clang/lib/CodeGen/
DCGRTTI.cpp58 void BuildObjCObjectTypeInfo(const ObjCObjectType *Ty);
462 Ty = cast<ObjCObjectType>(Ty)->getBaseType().getTypePtr(); in BuildVTablePointer()
658 BuildObjCObjectTypeInfo(cast<ObjCObjectType>(Ty)); in BuildTypeInfo()
739 void RTTIBuilder::BuildObjCObjectTypeInfo(const ObjCObjectType *OT) { in BuildObjCObjectTypeInfo()
DCGDebugInfo.h114 llvm::DIType CreateType(const ObjCObjectType *Ty, llvm::DIFile F);
DCodeGenTypes.cpp535 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType()
/external/clang/lib/AST/
DType.cpp479 ObjCObjectType::ObjCObjectType(QualType Canonical, QualType Base, in ObjCObjectType() function in ObjCObjectType
493 const ObjCObjectType *Type::getAsObjCQualifiedInterfaceType() const { in getAsObjCQualifiedInterfaceType()
497 if (const ObjCObjectType *T = getAs<ObjCObjectType>()) in getAsObjCQualifiedInterfaceType()
947 return cast<ObjCObjectType>(CanonicalType)->getBaseType() in isIncompleteType()
2164 return Cache::get(cast<ObjCObjectType>(T)->getBaseType()); in computeCachedProperties()
2244 return computeLinkageInfo(cast<ObjCObjectType>(T)->getBaseType()); in computeLinkageInfo()
DASTContext.cpp1515 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
3324 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) in getObjCObjectType()
5233 T = T->castAs<ObjCObjectType>()->getBaseType(); in getObjCEncodingForTypeImpl()
6380 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
6381 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in canAssignObjCInterfaces()
6450 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
6451 const ObjCObjectType* RHS = RHSOPT->getObjectType(); in getIntersectionOfProtocols()
6493 const ObjCObjectType *LHS = Lptr->getObjectType(); in areCommonBaseCompatible()
6494 const ObjCObjectType *RHS = Rptr->getObjectType(); in areCommonBaseCompatible()
6517 bool ASTContext::canAssignObjCInterfaces(const ObjCObjectType *LHS, in canAssignObjCInterfaces()
[all …]
DTypePrinter.cpp1187 void TypePrinter::printObjCObjectBefore(const ObjCObjectType *T, in printObjCObjectBefore()
1195 for (ObjCObjectType::qual_iterator in printObjCObjectBefore()
1206 void TypePrinter::printObjCObjectAfter(const ObjCObjectType *T, in printObjCObjectAfter()
DASTImporter.cpp77 QualType VisitObjCObjectType(const ObjCObjectType *T);
788 const ObjCObjectType *Obj1 = cast<ObjCObjectType>(T1); in IsStructurallyEquivalent()
789 const ObjCObjectType *Obj2 = cast<ObjCObjectType>(T2); in IsStructurallyEquivalent()
1763 QualType ASTNodeImporter::VisitObjCObjectType(const ObjCObjectType *T) { in VisitObjCObjectType()
1769 for (ObjCObjectType::qual_iterator P = T->qual_begin(), in VisitObjCObjectType()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp588 else if (const ObjCObjectType *Obj = baseType->getAs<ObjCObjectType>()) in ProcessCodeCompleteResults()
DCXType.cpp377 D = cast<ObjCObjectType>(TP)->getInterface(); in clang_getTypeDeclaration()
DRecursiveASTVisitor.h908 DEF_TRAVERSE_TYPE(ObjCObjectType, {
1140 DEF_TRAVERSE_TYPELOC(ObjCObjectType, {
/external/clang/lib/Sema/
DSemaExprMember.cpp1021 const ObjCObjectType *ty = opty->getObjectType(); in ShouldTryAgainWithRedefinitionType()
1130 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) { in LookupMemberExpr()
1325 const ObjCObjectType *OT = OPT->getObjectType(); in LookupMemberExpr()
DSemaExprObjC.cpp1282 const ObjCObjectType *objType = type->castAs<ObjCObjectType>(); in LookupMethodInObjectType()
1295 for (ObjCObjectType::qual_iterator in LookupMethodInObjectType()
1948 const ObjCObjectType *ClassType = ReceiverType->getAs<ObjCObjectType>(); in BuildClassMessage()
DSemaPseudoObject.cpp1030 if (const ObjCObjectType *iQFaceTy = in findAtIndexGetter()
1141 if (const ObjCObjectType *iQFaceTy = in findAtIndexSetter()
DSemaDeclObjC.cpp51 const ObjCObjectType *result = method->getResultType() in checkInitMethod()
523 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) in ActOnStartClassInterface()
596 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { in ActOnCompatibilityAlias()
1928 if (isa<ObjCObjectType>(TDD->getUnderlyingType())) { in ActOnForwardClassDeclaration()
DSemaCodeComplete.cpp3630 Class = BaseType->getAs<ObjCObjectType>()->getInterface(); in CodeCompleteMemberReferenceExpr()
5081 if (const ObjCObjectType *ObjType in GetAssumedMessageSendExprType()
5082 = Msg->getClassReceiver()->getAs<ObjCObjectType>()) in GetAssumedMessageSendExprType()
5324 if (const ObjCObjectType *Iface in CodeCompleteObjCSuperMessage()
5325 = Context.getTypeDeclType(TD)->getAs<ObjCObjectType>()) in CodeCompleteObjCSuperMessage()
5402 if (const ObjCObjectType *Interface = T->getAs<ObjCObjectType>()) in AddClassMessageCompletions()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp142 const ObjCObjectType *ObjTy = ClassRec->getAs<ObjCObjectType>(); in maybeAdjustInterfaceForSubscriptingCheck()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h499 if (T->getAs<ObjCObjectType>()) in getLocationType()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp711 else if (T->getAs<ObjCObjectType>()) { in VisitUnaryExprOrTypeTraitExpr()

12