/external/clang/lib/CodeGen/ |
D | CGValue.h | 260 Qualifiers::ObjCLifetime getObjCLifetime() const { in getObjCLifetime() function 261 return Quals.getObjCLifetime(); in getObjCLifetime() 550 Qualifiers::ObjCLifetime getObjCLifetime() const { in getObjCLifetime() function 551 return Quals.getObjCLifetime(); in getObjCLifetime()
|
D | CGBlocks.cpp | 392 variable->getType().getObjCLifetime(); in computeBlockInfo() 853 } else if (type.getObjCLifetime() == Qualifiers::OCL_Strong && in EmitBlockLiteral() 1406 if (qs.getObjCLifetime() == Qualifiers::OCL_Weak) { in GenerateCopyHelperFunction() 1410 } else if (qs.getObjCLifetime() == Qualifiers::OCL_Strong) { in GenerateCopyHelperFunction() 1419 } else if (!qs.getObjCLifetime() && !getLangOpts().ObjCAutoRefCount) { in GenerateCopyHelperFunction() 1578 if (qs.getObjCLifetime() == Qualifiers::OCL_Strong) { in GenerateDestroyHelperFunction() 1582 } else if (qs.getObjCLifetime() == Qualifiers::OCL_Weak) { in GenerateDestroyHelperFunction() 1970 if (Qualifiers::ObjCLifetime lifetime = qs.getObjCLifetime()) { in buildByrefHelpers()
|
D | CGObjC.cpp | 294 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in shouldExtendReceiverForInnerPointerMessage() 333 if (CE->getSubExpr()->getType().getObjCLifetime() == Qualifiers::OCL_Weak) in findWeakLValue() 703 if (ivarType.getObjCLifetime() == Qualifiers::OCL_Strong) in PropertyImplStrategy() 1007 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) { in generateObjCGetterBody() 2406 switch (type.getObjCLifetime()) { in tryEmitARCRetainLoadOfScalar() 2433 type.getObjCLifetime() == Qualifiers::OCL_Strong) { in tryEmitARCRetainLoadOfScalar() 2452 type.getObjCLifetime() == Qualifiers::OCL_Weak && in tryEmitARCRetainLoadOfScalar() 2724 switch (e->getLHS()->getType().getObjCLifetime()) { in visitBinAssign()
|
D | CGDecl.cpp | 621 if (srcExpr->getType().getObjCLifetime() != Qualifiers::OCL_Weak) in tryEmitARCCopyWeakInit() 662 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); in EmitScalarInit() 770 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); in EmitScalarInit() 1800 if (Qualifiers::ObjCLifetime lt = qs.getObjCLifetime()) { in EmitParmDecl()
|
D | CGObjCRuntime.cpp | 288 switch (paramDecl->getType().getQualifiers().getObjCLifetime()) { in EmitInitOfCatchParam()
|
D | CGExpr.cpp | 206 if (auto Lifetime = M->getType().getObjCLifetime()) { in pushTemporaryCleanup() 356 auto ownership = M->getType().getObjCLifetime(); in EmitMaterializeTemporaryExpr() 1447 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) { in EmitLoadOfLValue() 1620 if (Qualifiers::ObjCLifetime Lifetime = Dst.getQuals().getObjCLifetime()) { in EmitStoreThroughLValue() 3778 switch (DestroyedType.getObjCLifetime()) { in EmitCallExpr() 3830 switch (E->getLHS()->getType().getObjCLifetime()) { in EmitBinaryOperatorLValue()
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 229 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) { in rewriteAssign() 257 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) in maybeAddWeakOrUnsafeUnretainedAttr() 324 if (I->IvarD->getType().getLocalQualifiers().getObjCLifetime() in hasIvarWithExplicitARCOwnership()
|
D | TransAPIUses.cpp | 77 if (pointee.getObjCLifetime() > Qualifiers::OCL_ExplicitNone) in VisitObjCMessageExpr()
|
D | TransBlockObjCVariable.cpp | 108 return ty.getLocalQualifiers().getObjCLifetime() == Qualifiers::OCL_Strong; in isImplicitStrong()
|
D | TransGCAttrs.cpp | 250 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in checkAllAtProps() 252 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong) in checkAllAtProps()
|
D | TransRetainReleaseDealloc.cpp | 86 if (rec->getType().getObjCLifetime() == Qualifiers::OCL_ExplicitNone && in VisitObjCMessageExpr()
|
/external/clang/include/clang/AST/ |
D | Type.h | 192 if (L.getObjCLifetime() == R.getObjCLifetime()) { 193 Q.setObjCLifetime(L.getObjCLifetime()); 308 ObjCLifetime getObjCLifetime() const { 323 ObjCLifetime lifetime = getObjCLifetime(); 329 ObjCLifetime lifetime = getObjCLifetime(); 392 addObjCLifetime(Q.getObjCLifetime()); 406 if (getObjCLifetime() == Q.getObjCLifetime()) 420 assert(getObjCLifetime() == qs.getObjCLifetime() || 452 getObjCLifetime() == other.getObjCLifetime() && 467 if (getObjCLifetime() == other.getObjCLifetime()) [all …]
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 73 = property->getType().getObjCLifetime(); in checkPropertyDeclWithOwnership() 138 } else if (auto ownership = T.getObjCLifetime()) { in deducePropertyOwnershipFromType() 228 if (Res->getType().getObjCLifetime()) in ActOnProperty() 506 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) { in HandlePropertyInClassExtension() 713 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in checkARCPropertyImpl() 802 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in setImpliedPropertyAttributeForReadOnlyProperty() 1118 !PropertyIvarType.getObjCLifetime() && in ActOnPropertyImplDecl() 1227 Ivar->getType().getObjCLifetime()) in ActOnPropertyImplDecl()
|
D | SemaTemplateDeduction.cpp | 878 if (ParamQs.getObjCLifetime() != ArgQs.getObjCLifetime() && in hasInconsistentOrSupersetQualifiersOf() 997 ArgQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone && in DeduceTemplateArgumentsByTypeMatch() 2685 ((DeducedAQuals.getObjCLifetime() == Qualifiers::OCL_Strong && in CheckOriginalCallArgDeduction() 2686 AQuals.getObjCLifetime() == Qualifiers::OCL_None) || in CheckOriginalCallArgDeduction() 2688 DeducedAQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone))) { in CheckOriginalCallArgDeduction() 2689 AQuals.setObjCLifetime(DeducedAQuals.getObjCLifetime()); in CheckOriginalCallArgDeduction()
|
D | SemaExprCXX.cpp | 1585 AllocType.getObjCLifetime() == Qualifiers::OCL_None && in BuildCXXNew() 1924 if (BaseAllocType.getObjCLifetime() == Qualifiers::OCL_None && in CheckAllocatedType() 3977 switch (T.getObjCLifetime()) { in EvaluateUnaryTypeTrait() 4124 T.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) in EvaluateUnaryTypeTrait() 4170 T.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) in EvaluateUnaryTypeTrait() 4308 switch (T.getObjCLifetime()) { in hasNontrivialObjCLifetime() 6132 } else if (DestructedType.getObjCLifetime() != in BuildPseudoDestructorExpr() 6133 ObjectType.getObjCLifetime()) { in BuildPseudoDestructorExpr() 6135 if (DestructedType.getObjCLifetime() == Qualifiers::OCL_None) { in BuildPseudoDestructorExpr()
|
D | SemaOverload.cpp | 2452 ToQuals.getObjCLifetime() != Qualifiers::OCL_Autoreleasing || in isObjCWritebackConversion() 2465 (FromQuals.getObjCLifetime() != Qualifiers::OCL_Strong && in isObjCWritebackConversion() 2466 FromQuals.getObjCLifetime() != Qualifiers::OCL_Weak)) in isObjCWritebackConversion() 2915 ToQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone) in isNonTrivialObjCLifetimeConversion() 2963 if (FromQuals.getObjCLifetime() != ToQuals.getObjCLifetime() && in IsQualificationConversion() 4136 if (T1Quals.getObjCLifetime() != T2Quals.getObjCLifetime() && in CompareReferenceRelationship() 9129 if (FromQs.getObjCLifetime() != ToQs.getObjCLifetime()) { in DiagnoseBadConversion() 9134 << FromQs.getObjCLifetime() << ToQs.getObjCLifetime() in DiagnoseBadConversion() 9262 if (FromQs.getObjCLifetime() != ToQs.getObjCLifetime()) { in DiagnoseBadConversion()
|
D | SemaExprMember.cpp | 1473 if (DE->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in LookupMemberExpr() 1494 if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in LookupMemberExpr()
|
D | SemaPseudoObject.cpp | 590 return T.getObjCLifetime() == Qualifiers::OCL_Weak; in isWeakProperty() 844 Qualifiers::ObjCLifetime LT = propType.getObjCLifetime(); in buildRValueOperation()
|
D | SemaExpr.cpp | 709 E->getType().getObjCLifetime() == Qualifiers::OCL_Weak) in DefaultLvalueConversion() 1777 Ty.getObjCLifetime() == Qualifiers::OCL_Weak && in BuildDeclRefExpr() 2512 if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in LookupInObjCMethod() 7121 if (lhq.getObjCLifetime() != rhq.getObjCLifetime() && in checkPointerTypesForAssignment() 7142 else if (lhq.getObjCLifetime() != rhq.getObjCLifetime()) in checkPointerTypesForAssignment() 10025 if (LHSType.getObjCLifetime() == Qualifiers::OCL_Strong) { in CheckAssignmentOperands() 12458 } else if (lhq.getObjCLifetime() != rhq.getObjCLifetime()) { in DiagnoseAssignmentResult() 13308 if (CaptureType.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) { in captureInBlock() 13502 if (CaptureType.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) { in captureInLambda()
|
D | SemaType.cpp | 1837 type.getObjCLifetime() != Qualifiers::OCL_None) in inferARCLifetimeForPointee() 2615 if (declSpecType.getObjCLifetime()) return; in inferARCWriteback() 4132 << T.getQualifiers().getObjCLifetime(); in GetFullTypeForDeclarator() 4600 declSpecTy.getObjCLifetime() == Qualifiers::OCL_None) { in transferARCOwnershipToDeclSpec() 5436 = type.getQualifiers().getObjCLifetime()) { in handleObjCOwnershipTypeAttr()
|
D | SemaChecking.cpp | 1332 switch (ValType.getObjCLifetime()) { in CheckARMBuiltinExclusiveCall() 2468 switch (ValType.getObjCLifetime()) { in SemaAtomicOpsOverloaded() 2690 switch (ValType.getObjCLifetime()) { in SemaBuiltinAtomicOverloaded() 9764 if (var->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in considerVariable() 9792 if (ivar->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in findRetainCycleOwner() 9829 .getObjCLifetime() == Qualifiers::OCL_Strong)) in findRetainCycleOwner() 10233 Qualifiers::ObjCLifetime LT = LHS.getObjCLifetime(); in checkUnsafeAssigns() 10260 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns()
|
D | SemaExprObjC.cpp | 3011 IsWeak = ReturnType.getObjCLifetime() & Qualifiers::OCL_Weak; in BuildInstanceMessage() 4044 QDT.getObjCLifetime() != Qualifiers::OCL_None) { in CheckObjCARCConversion() 4203 castType.getObjCLifetime() == Qualifiers::OCL_Weak && in CheckObjCARCUnavailableWeakConversion()
|
/external/clang/lib/AST/ |
D | Type.cpp | 43 ((getObjCLifetime() == Other.getObjCLifetime()) || in isStrictSupersetOf() 1989 switch (getObjCLifetime()) { in isCXX98PODType() 2051 switch (getObjCLifetime()) { in isTrivialType() 2103 switch (getObjCLifetime()) { in isTriviallyCopyableType() 2264 switch (getObjCLifetime()) { in isCXX11PODType() 3760 switch (type.getObjCLifetime()) { in isDestructedTypeImpl()
|
D | TypePrinter.cpp | 1318 switch (T->getEquivalentType().getObjCLifetime()) { in printAttributedAfter() 1562 if (Qualifiers::ObjCLifetime lifetime = getObjCLifetime()) in isEmptyWhenPrinted() 1619 if (Qualifiers::ObjCLifetime lifetime = getObjCLifetime()) { in print()
|
D | ASTContext.cpp | 2990 (T.getObjCLifetime() == Qualifiers::OCL_None || in isCanonicalResultType() 2991 T.getObjCLifetime() == Qualifiers::OCL_ExplicitNone); in isCanonicalResultType() 4816 if (T.getObjCLifetime() != Qualifiers::OCL_None) in getInnerObjCOwnership() 4817 return T.getObjCLifetime(); in getInnerObjCOwnership() 5056 if (Qualifiers::ObjCLifetime lifetime = qs.getObjCLifetime()) { in BlockRequiresCopying() 5090 } else if ((LifeTime = Ty.getObjCLifetime())) { in getByrefLifetime() 7667 LQuals.getObjCLifetime() != RQuals.getObjCLifetime()) in mergeTypes()
|