Home
last modified time | relevance | path

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

1234

/external/clang/lib/CodeGen/
DCGValue.h260 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()
DCGBlocks.cpp392 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()
DCGObjC.cpp294 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()
DCGDecl.cpp621 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()
DCGObjCRuntime.cpp288 switch (paramDecl->getType().getQualifiers().getObjCLifetime()) { in EmitInitOfCatchParam()
/external/llvm-project/clang/lib/ARCMigrate/
DTransProperties.cpp227 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()
DTransAPIUses.cpp76 if (pointee.getObjCLifetime() > Qualifiers::OCL_ExplicitNone) in VisitObjCMessageExpr()
DTransBlockObjCVariable.cpp107 return ty.getLocalQualifiers().getObjCLifetime() == Qualifiers::OCL_Strong; in isImplicitStrong()
DTransGCAttrs.cpp246 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in checkAllAtProps()
248 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong) in checkAllAtProps()
DTransRetainReleaseDealloc.cpp87 if (rec->getType().getObjCLifetime() == Qualifiers::OCL_ExplicitNone && in VisitObjCMessageExpr()
/external/clang/lib/ARCMigrate/
DTransProperties.cpp229 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()
DTransAPIUses.cpp77 if (pointee.getObjCLifetime() > Qualifiers::OCL_ExplicitNone) in VisitObjCMessageExpr()
DTransBlockObjCVariable.cpp108 return ty.getLocalQualifiers().getObjCLifetime() == Qualifiers::OCL_Strong; in isImplicitStrong()
DTransGCAttrs.cpp250 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in checkAllAtProps()
252 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong) in checkAllAtProps()
DTransRetainReleaseDealloc.cpp86 if (rec->getType().getObjCLifetime() == Qualifiers::OCL_ExplicitNone && in VisitObjCMessageExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGValue.h268 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()
DCGObjC.cpp311 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/
DType.h192 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/
DType.h218 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/
DTypeTraits.cpp106 switch (Type.getObjCLifetime()) { in isTriviallyDefaultConstructible()
/external/llvm-project/clang-tools-extra/clang-tidy/objc/
DNSInvocationArgumentLifetimeCheck.cpp52 QT.getQualifiers().getObjCLifetime() > Qualifiers::OCL_ExplicitNone; in AST_POLYMORPHIC_MATCHER()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DObjCAutoreleaseWriteChecker.cpp116 if (Ty->getPointeeType().getObjCLifetime() != Qualifiers::OCL_Autoreleasing) in emitDiagnostics()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp73 = 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/
DSemaObjCProperty.cpp70 = 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/
DType.cpp43 ((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()

1234