/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()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 227 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) { in rewriteAssign() 255 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) in maybeAddWeakOrUnsafeUnretainedAttr() 325 if (I->IvarD->getType().getLocalQualifiers().getObjCLifetime() in hasIvarWithExplicitARCOwnership()
|
D | TransAPIUses.cpp | 76 if (pointee.getObjCLifetime() > Qualifiers::OCL_ExplicitNone) in VisitObjCMessageExpr()
|
D | TransBlockObjCVariable.cpp | 107 return ty.getLocalQualifiers().getObjCLifetime() == Qualifiers::OCL_Strong; in isImplicitStrong()
|
D | TransGCAttrs.cpp | 246 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in checkAllAtProps() 248 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong) in checkAllAtProps()
|
D | TransRetainReleaseDealloc.cpp | 87 if (rec->getType().getObjCLifetime() == Qualifiers::OCL_ExplicitNone && in VisitObjCMessageExpr()
|
/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/llvm-project/clang/lib/CodeGen/ |
D | CGValue.h | 268 Qualifiers::ObjCLifetime getObjCLifetime() const { in getObjCLifetime() function 269 return Quals.getObjCLifetime(); in getObjCLifetime() 603 Qualifiers::ObjCLifetime getObjCLifetime() const { in getObjCLifetime() function 604 return Quals.getObjCLifetime(); in getObjCLifetime()
|
D | CGObjC.cpp | 311 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong) in shouldExtendReceiverForInnerPointerMessage() 350 if (CE->getSubExpr()->getType().getObjCLifetime() == Qualifiers::OCL_Weak) in findWeakLValue() 950 if (ivarType.getObjCLifetime() == Qualifiers::OCL_Strong) in PropertyImplStrategy() 1257 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) { in generateObjCGetterBody() 2835 bool shouldRetain = shouldRetainObjCLifetime(type.getObjCLifetime()); in tryEmitARCRetainLoadOfScalar() 2839 assert(type.getObjCLifetime() == Qualifiers::OCL_Weak); in tryEmitARCRetainLoadOfScalar() 2855 type.getObjCLifetime() == Qualifiers::OCL_Strong) { in tryEmitARCRetainLoadOfScalar() 2874 type.getObjCLifetime() == Qualifiers::OCL_Weak && in tryEmitARCRetainLoadOfScalar() 2886 !shouldRetainObjCLifetime(type.getObjCLifetime())); in tryEmitARCRetainLoadOfScalar() 3163 switch (e->getLHS()->getType().getObjCLifetime()) { in visitBinAssign()
|
/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/llvm-project/clang/include/clang/AST/ |
D | Type.h | 218 if (L.getObjCLifetime() == R.getObjCLifetime()) { 219 Q.setObjCLifetime(L.getObjCLifetime()); 335 ObjCLifetime getObjCLifetime() const { 350 ObjCLifetime lifetime = getObjCLifetime(); 356 ObjCLifetime lifetime = getObjCLifetime(); 438 addObjCLifetime(Q.getObjCLifetime()); 452 if (getObjCLifetime() == Q.getObjCLifetime()) 466 assert(getObjCLifetime() == qs.getObjCLifetime() || 510 getObjCLifetime() == other.getObjCLifetime() && 525 if (getObjCLifetime() == other.getObjCLifetime()) [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | TypeTraits.cpp | 106 switch (Type.getObjCLifetime()) { in isTriviallyDefaultConstructible()
|
/external/llvm-project/clang-tools-extra/clang-tidy/objc/ |
D | NSInvocationArgumentLifetimeCheck.cpp | 52 QT.getQualifiers().getObjCLifetime() > Qualifiers::OCL_ExplicitNone; in AST_POLYMORPHIC_MATCHER()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCAutoreleaseWriteChecker.cpp | 116 if (Ty->getPointeeType().getObjCLifetime() != Qualifiers::OCL_Autoreleasing) in emitDiagnostics()
|
/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()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 70 = property->getType().getObjCLifetime(); in checkPropertyDeclWithOwnership() 136 } else if (auto ownership = T.getObjCLifetime()) { in deducePropertyOwnershipFromType() 227 if (Res->getType().getObjCLifetime()) in ActOnProperty() 511 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) { in HandlePropertyInClassExtension() 734 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in checkARCPropertyImpl() 822 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime(); in setImpliedPropertyAttributeForReadOnlyProperty() 1305 !PropertyIvarType.getObjCLifetime() && in ActOnPropertyImplDecl() 1424 Ivar->getType().getObjCLifetime()) in ActOnPropertyImplDecl()
|
/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()
|