Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp187 if (!Attr.ModifiedType->isObjCRetainableType()) { in errorForGCAttrsOnNonObjC()
202 !Attr.ModifiedType->isObjCRetainableType()) in checkWeakGCAttrs()
228 if (T.isNull() || !T->isObjCRetainableType()) in checkAllAtProps()
H A DTransUnbridgedCasts.cpp97 if (castType->isObjCRetainableType() == castExprType->isObjCRetainableType()) in VisitCastExpr()
112 if (castType->isObjCRetainableType()) in VisitCastExpr()
H A DTransProperties.cpp134 if (!getPropertyType(props)->isObjCRetainableType()) in doTransform()
H A DTransforms.cpp362 return !AttrT->getModifiedType()->isObjCRetainableType(); in isGCOwnedNonObjC()
H A DObjCMT.cpp431 bool RetainableObject = ArgType->isObjCRetainableType(); in PropertyMemoryAttribute()
1185 if (IsPrefix && GRT->isObjCRetainableType()) in migrateProperty()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp55 type->isObjCRetainableType()) { in getImpliedARCOwnership()
586 !T->isObjCRetainableType()); in CreatePropertyDecl()
1225 PropertyIvarType->isObjCRetainableType()) { in ActOnPropertyImplDecl()
1298 PropertyIvarType->isObjCRetainableType()) { in ActOnPropertyImplDecl()
2657 !PropertyTy->isObjCRetainableType() && in CheckObjCPropertyAttributes()
2675 PropertyTy->isObjCRetainableType() && in CheckObjCPropertyAttributes()
2773 if (!getOwnershipRule(Attributes) && PropertyTy->isObjCRetainableType()) { in CheckObjCPropertyAttributes()
H A DSemaType.cpp3185 if (!declSpecType->isObjCRetainableType()) return; in inferARCWriteback()
5940 if (declSpecTy->isObjCRetainableType() && in transferARCOwnershipToDeclSpec()
6025 if (declSpecTy->isObjCRetainableType()) in transferARCOwnership()
6833 if (pointee->isObjCRetainableType() || pointee->isPointerType()) in handleObjCOwnershipTypeAttr()
6839 } else if (!type->isObjCRetainableType()) { in handleObjCOwnershipTypeAttr()
H A DSemaDeclAttr.cpp5759 return QT->isDependentType() || QT->isObjCRetainableType(); in isValidSubjectOfNSReturnsRetainedAttribute()
6000 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
8317 if (!Ty->isObjCRetainableType()) { in tryMakeVariablePseudoStrong()
H A DSemaInit.cpp3902 assert(Entity.getType()->isObjCRetainableType() && in MaybeProduceObjCObject()
3912 if (!Entity.getType()->isObjCRetainableType()) in MaybeProduceObjCObject()
H A DSemaExprObjC.cpp2902 if (ReceiverType->isObjCRetainableType()) { in BuildInstanceMessage()
H A DSemaExprCXX.cpp7163 E->getType()->isObjCRetainableType()) { in MaybeBindToTemporary()
H A DSemaChecking.cpp17001 LHSType->isObjCRetainableType()) in checkUnsafeExprAssigns()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp81 if (!T->isObjCRetainableType()) in isSynthesizedRetainableProperty()
935 if (!M.getArgExpr(0)->getType()->isObjCRetainableType()) in getValueReleasedByNillingOut()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGBlocks.cpp1652 if (!T->isObjCRetainableType()) in computeCopyInfoForBlockCapture()
2068 if (T->isObjCRetainableType() && !T.getQualifiers().hasObjCLifetime() && in computeDestroyInfoForBlockCapture()
2517 if (!type->isObjCRetainableType()) return nullptr; in buildByrefHelpers()
H A DCGCall.cpp3660 RT->isObjCRetainableType()); in EmitFunctionEpilog()
3843 type->isObjCRetainableType()) { in EmitDelegateCallArg()
4240 Ty.getNonReferenceType()->isObjCRetainableType() || in EmitCallArgs()
H A DCGObjC.cpp275 if (!ExpT->isObjCRetainableType()) in AdjustObjCObjectType()
351 assert(E->getType()->isObjCRetainableType()); in findWeakLValue()
H A DCodeGenFunction.cpp1138 RetTy->isObjCRetainableType()) in StartFunction()
H A DCGClass.cpp2969 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
H A DCGBuiltin.cpp1877 if (TheExpr->getType()->isObjCRetainableType() && in emitBuiltinOSLogFormat()
/openbsd/gnu/llvm/clang/lib/AST/
H A DPrintfFormatString.cpp694 if (QT->isObjCRetainableType()) { in fixType()
H A DType.cpp4423 bool Type::isObjCRetainableType() const { in isObjCRetainableType() function in Type
4447 return type->isObjCRetainableType(); in isObjCLifetimeType()
H A DDeclCXX.cpp1014 if (T->isObjCRetainableType() || T.isObjCGCStrong()) { in addedMember()
H A DASTContext.cpp7507 if (!Ty->isObjCRetainableType()) return false; in BlockRequiresCopying()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp302 if (Ty->isObjCRetainableType()) in checkPostStmt()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DType.h2183 bool isObjCRetainableType() const; // ObjC object or block pointer