/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 | 387 variable->getType().getObjCLifetime(); in computeBlockInfo() 850 } else if (type.getObjCLifetime() == Qualifiers::OCL_Strong && in EmitBlockLiteral() 1404 if (qs.getObjCLifetime() == Qualifiers::OCL_Weak) { in GenerateCopyHelperFunction() 1408 } else if (qs.getObjCLifetime() == Qualifiers::OCL_Strong) { in GenerateCopyHelperFunction() 1417 } else if (!qs.getObjCLifetime() && !getLangOpts().ObjCAutoRefCount) { in GenerateCopyHelperFunction() 1576 if (qs.getObjCLifetime() == Qualifiers::OCL_Strong) { in GenerateDestroyHelperFunction() 1580 } else if (qs.getObjCLifetime() == Qualifiers::OCL_Weak) { in GenerateDestroyHelperFunction() 1968 if (Qualifiers::ObjCLifetime lifetime = qs.getObjCLifetime()) { in buildByrefHelpers()
|
D | CGDecl.cpp | 618 if (srcExpr->getType().getObjCLifetime() != Qualifiers::OCL_Weak) in tryEmitARCCopyWeakInit() 660 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); in EmitScalarInit() 769 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); in EmitScalarInit() 1791 if (Qualifiers::ObjCLifetime lt = qs.getObjCLifetime()) { in EmitParmDecl()
|
D | CGObjC.cpp | 294 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in shouldExtendReceiverForInnerPointerMessage() 333 if (CE->getSubExpr()->getType().getObjCLifetime() == Qualifiers::OCL_Weak) in findWeakLValue() 705 if (ivarType.getObjCLifetime() == Qualifiers::OCL_Strong) in PropertyImplStrategy() 1004 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) { in generateObjCGetterBody() 2395 switch (type.getObjCLifetime()) { in tryEmitARCRetainLoadOfScalar() 2422 type.getObjCLifetime() == Qualifiers::OCL_Strong) { in tryEmitARCRetainLoadOfScalar() 2441 type.getObjCLifetime() == Qualifiers::OCL_Weak && in tryEmitARCRetainLoadOfScalar()
|
D | CGObjCRuntime.cpp | 289 switch (paramDecl->getType().getQualifiers().getObjCLifetime()) { in EmitInitOfCatchParam()
|
D | CGExpr.cpp | 205 if (auto Lifetime = M->getType().getObjCLifetime()) { in pushTemporaryCleanup() 355 auto ownership = M->getType().getObjCLifetime(); in EmitMaterializeTemporaryExpr() 1422 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) { in EmitLoadOfLValue() 1595 if (Qualifiers::ObjCLifetime Lifetime = Dst.getQuals().getObjCLifetime()) { in EmitStoreThroughLValue() 3564 switch (DestroyedType.getObjCLifetime()) { in EmitCallExpr() 3616 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 | 191 if (L.getObjCLifetime() == R.getObjCLifetime()) { 192 Q.setObjCLifetime(L.getObjCLifetime()); 290 ObjCLifetime getObjCLifetime() const { 305 ObjCLifetime lifetime = getObjCLifetime(); 311 ObjCLifetime lifetime = getObjCLifetime(); 374 addObjCLifetime(Q.getObjCLifetime()); 388 if (getObjCLifetime() == Q.getObjCLifetime()) 402 assert(getObjCLifetime() == qs.getObjCLifetime() || 434 getObjCLifetime() == other.getObjCLifetime() && 447 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() 502 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) { in HandlePropertyInClassExtension() 703 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in checkARCPropertyImpl() 792 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in setImpliedPropertyAttributeForReadOnlyProperty() 1103 !PropertyIvarType.getObjCLifetime() && in ActOnPropertyImplDecl() 1212 Ivar->getType().getObjCLifetime()) in ActOnPropertyImplDecl()
|
D | SemaTemplateDeduction.cpp | 882 if (ParamQs.getObjCLifetime() != ArgQs.getObjCLifetime() && in hasInconsistentOrSupersetQualifiersOf() 1001 ArgQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone && in DeduceTemplateArgumentsByTypeMatch() 2684 ((DeducedAQuals.getObjCLifetime() == Qualifiers::OCL_Strong && in CheckOriginalCallArgDeduction() 2685 AQuals.getObjCLifetime() == Qualifiers::OCL_None) || in CheckOriginalCallArgDeduction() 2687 DeducedAQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone))) { in CheckOriginalCallArgDeduction() 2688 AQuals.setObjCLifetime(DeducedAQuals.getObjCLifetime()); in CheckOriginalCallArgDeduction()
|
D | SemaExprCXX.cpp | 1352 AllocType.getObjCLifetime() == Qualifiers::OCL_None && in BuildCXXNew() 1690 if (BaseAllocType.getObjCLifetime() == Qualifiers::OCL_None && in CheckAllocatedType() 3717 switch (T.getObjCLifetime()) { in EvaluateUnaryTypeTrait() 3864 T.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) in EvaluateUnaryTypeTrait() 3910 T.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) in EvaluateUnaryTypeTrait() 4048 switch (T.getObjCLifetime()) { in hasNontrivialObjCLifetime() 5856 } else if (DestructedType.getObjCLifetime() != in BuildPseudoDestructorExpr() 5857 ObjectType.getObjCLifetime()) { in BuildPseudoDestructorExpr() 5859 if (DestructedType.getObjCLifetime() == Qualifiers::OCL_None) { in BuildPseudoDestructorExpr()
|
D | SemaOverload.cpp | 2386 ToQuals.getObjCLifetime() != Qualifiers::OCL_Autoreleasing || in isObjCWritebackConversion() 2399 (FromQuals.getObjCLifetime() != Qualifiers::OCL_Strong && in isObjCWritebackConversion() 2400 FromQuals.getObjCLifetime() != Qualifiers::OCL_Weak)) in isObjCWritebackConversion() 2843 ToQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone) in isNonTrivialObjCLifetimeConversion() 2887 if (FromQuals.getObjCLifetime() != ToQuals.getObjCLifetime() && in IsQualificationConversion() 4083 if (T1Quals.getObjCLifetime() != T2Quals.getObjCLifetime() && in CompareReferenceRelationship() 9011 if (FromQs.getObjCLifetime() != ToQs.getObjCLifetime()) { in DiagnoseBadConversion() 9016 << FromQs.getObjCLifetime() << ToQs.getObjCLifetime() in DiagnoseBadConversion() 9132 if (FromQs.getObjCLifetime() != ToQs.getObjCLifetime()) { in DiagnoseBadConversion()
|
D | SemaExprMember.cpp | 1408 if (DE->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in LookupMemberExpr() 1429 if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in LookupMemberExpr()
|
D | SemaPseudoObject.cpp | 590 return T.getObjCLifetime() == Qualifiers::OCL_Weak; in isWeakProperty() 843 Qualifiers::ObjCLifetime LT = propType.getObjCLifetime(); in buildRValueOperation()
|
D | SemaChecking.cpp | 832 switch (ValType.getObjCLifetime()) { in CheckARMBuiltinExclusiveCall() 1749 switch (ValType.getObjCLifetime()) { in SemaAtomicOpsOverloaded() 1965 switch (ValType.getObjCLifetime()) { in SemaBuiltinAtomicOverloaded() 8741 if (var->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in considerVariable() 8769 if (ivar->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in findRetainCycleOwner() 8806 .getObjCLifetime() == Qualifiers::OCL_Strong)) in findRetainCycleOwner() 9211 Qualifiers::ObjCLifetime LT = LHS.getObjCLifetime(); in checkUnsafeAssigns() 9238 Qualifiers::ObjCLifetime LT = LHSType.getObjCLifetime(); in checkUnsafeExprAssigns()
|
D | SemaExpr.cpp | 697 E->getType().getObjCLifetime() == Qualifiers::OCL_Weak) in DefaultLvalueConversion() 1715 Ty.getObjCLifetime() == Qualifiers::OCL_Weak && in BuildDeclRefExpr() 2449 if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in LookupInObjCMethod() 6718 if (lhq.getObjCLifetime() != rhq.getObjCLifetime() && in checkPointerTypesForAssignment() 6739 else if (lhq.getObjCLifetime() != rhq.getObjCLifetime()) in checkPointerTypesForAssignment() 9576 if (LHSType.getObjCLifetime() == Qualifiers::OCL_Strong) { in CheckAssignmentOperands() 11917 } else if (lhq.getObjCLifetime() != rhq.getObjCLifetime()) { in DiagnoseAssignmentResult() 12759 if (CaptureType.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) { in captureInBlock() 12953 if (CaptureType.getObjCLifetime() == Qualifiers::OCL_Autoreleasing) { in captureInLambda()
|
D | SemaType.cpp | 1731 type.getObjCLifetime() != Qualifiers::OCL_None) in inferARCLifetimeForPointee() 2409 if (declSpecType.getObjCLifetime()) return; in inferARCWriteback() 3864 << T.getQualifiers().getObjCLifetime(); in GetFullTypeForDeclarator() 4318 declSpecTy.getObjCLifetime() == Qualifiers::OCL_None) { in transferARCOwnershipToDeclSpec() 5135 = type.getQualifiers().getObjCLifetime()) { in handleObjCOwnershipTypeAttr()
|
D | SemaExprObjC.cpp | 2984 IsWeak = ReturnType.getObjCLifetime() & Qualifiers::OCL_Weak; in BuildInstanceMessage() 4000 QDT.getObjCLifetime() != Qualifiers::OCL_None) { in CheckObjCARCConversion() 4154 castType.getObjCLifetime() == Qualifiers::OCL_Weak && in CheckObjCARCUnavailableWeakConversion()
|
/external/clang/lib/AST/ |
D | Type.cpp | 43 ((getObjCLifetime() == Other.getObjCLifetime()) || in isStrictSupersetOf() 1983 switch (getObjCLifetime()) { in isCXX98PODType() 2045 switch (getObjCLifetime()) { in isTrivialType() 2097 switch (getObjCLifetime()) { in isTriviallyCopyableType() 2258 switch (getObjCLifetime()) { in isCXX11PODType() 3760 switch (type.getObjCLifetime()) { in isDestructedTypeImpl()
|
D | TypePrinter.cpp | 1280 switch (T->getEquivalentType().getObjCLifetime()) { in printAttributedAfter() 1520 if (Qualifiers::ObjCLifetime lifetime = getObjCLifetime()) in isEmptyWhenPrinted() 1571 if (Qualifiers::ObjCLifetime lifetime = getObjCLifetime()) { in print()
|
D | ASTContext.cpp | 3015 (T.getObjCLifetime() == Qualifiers::OCL_None || in isCanonicalResultType() 3016 T.getObjCLifetime() == Qualifiers::OCL_ExplicitNone); in isCanonicalResultType() 4759 if (T.getObjCLifetime() != Qualifiers::OCL_None) in getInnerObjCOwnership() 4760 return T.getObjCLifetime(); in getInnerObjCOwnership() 4972 if (Qualifiers::ObjCLifetime lifetime = qs.getObjCLifetime()) { in BlockRequiresCopying() 5006 } else if ((LifeTime = Ty.getObjCLifetime())) { in getByrefLifetime() 7552 LQuals.getObjCLifetime() != RQuals.getObjCLifetime()) in mergeTypes()
|