Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.cpp428 bool RetainableObject = ArgType->isObjCRetainableType(); in PropertyMemoryAttribute()
1182 if (IsPrefix && GRT->isObjCRetainableType()) in migrateProperty()
/freebsd/contrib/llvm-project/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()
2652 !PropertyTy->isObjCRetainableType() && in CheckObjCPropertyAttributes()
2670 PropertyTy->isObjCRetainableType() && in CheckObjCPropertyAttributes()
2768 if (!getOwnershipRule(Attributes) && PropertyTy->isObjCRetainableType()) { in CheckObjCPropertyAttributes()
H A DSemaType.cpp3278 if (!declSpecType->isObjCRetainableType()) return; in inferARCWriteback()
6090 if (declSpecTy->isObjCRetainableType() && in transferARCOwnershipToDeclSpec()
6175 if (declSpecTy->isObjCRetainableType()) in transferARCOwnership()
6992 if (pointee->isObjCRetainableType() || pointee->isPointerType()) in handleObjCOwnershipTypeAttr()
6998 } else if (!type->isObjCRetainableType()) { in handleObjCOwnershipTypeAttr()
H A DSemaDeclAttr.cpp5964 return QT->isDependentType() || QT->isObjCRetainableType(); in isValidSubjectOfNSReturnsRetainedAttribute()
6206 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
8699 if (!Ty->isObjCRetainableType()) { in tryMakeVariablePseudoStrong()
H A DSemaInit.cpp4013 assert(Entity.getType()->isObjCRetainableType() && in MaybeProduceObjCObject()
4023 if (!Entity.getType()->isObjCRetainableType()) in MaybeProduceObjCObject()
H A DSemaExprObjC.cpp2907 if (ReceiverType->isObjCRetainableType()) { in BuildInstanceMessage()
H A DSemaExprCXX.cpp7287 E->getType()->isObjCRetainableType()) { in MaybeBindToTemporary()
H A DSemaChecking.cpp18797 LHSType->isObjCRetainableType()) in checkUnsafeExprAssigns()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp81 if (!T->isObjCRetainableType()) in isSynthesizedRetainableProperty()
925 if (!M.getArgExpr(0)->getType()->isObjCRetainableType()) in getValueReleasedByNillingOut()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1621 if (!T->isObjCRetainableType()) in computeCopyInfoForBlockCapture()
2032 if (T->isObjCRetainableType() && !T.getQualifiers().hasObjCLifetime() && in computeDestroyInfoForBlockCapture()
2478 if (!type->isObjCRetainableType()) return nullptr; in buildByrefHelpers()
H A DCGCall.cpp3896 RT->isObjCRetainableType()); in EmitFunctionEpilog()
4075 type->isObjCRetainableType()) { in EmitDelegateCallArg()
4470 Ty.getNonReferenceType()->isObjCRetainableType() || in EmitCallArgs()
H A DCGObjC.cpp275 if (!ExpT->isObjCRetainableType()) in AdjustObjCObjectType()
351 assert(E->getType()->isObjCRetainableType()); in findWeakLValue()
H A DCodeGenFunction.cpp1150 RetTy->isObjCRetainableType()) in StartFunction()
H A DCGClass.cpp2952 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
H A DCGBuiltin.cpp2199 if (TheExpr->getType()->isObjCRetainableType() && in emitBuiltinOSLogFormat()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp694 if (QT->isObjCRetainableType()) { in fixType()
H A DType.cpp4696 bool Type::isObjCRetainableType() const { in isObjCRetainableType() function in Type
4720 return type->isObjCRetainableType(); in isObjCLifetimeType()
H A DDeclCXX.cpp1026 if (T->isObjCRetainableType() || T.isObjCGCStrong()) { in addedMember()
H A DASTContext.cpp7514 if (!Ty->isObjCRetainableType()) return false; in BlockRequiresCopying()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp300 if (Ty->isObjCRetainableType()) in checkPostStmt()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h2296 bool isObjCRetainableType() const; // ObjC object or block pointer