Searched refs:getObjCLifetime (Results 1 - 25 of 43) sorted by relevance

12

/external/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp77 if (pointee.getObjCLifetime() > Qualifiers::OCL_ExplicitNone)
H A DTransBlockObjCVariable.cpp108 return ty.getLocalQualifiers().getObjCLifetime() == Qualifiers::OCL_Strong;
H A DTransProperties.cpp229 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) {
257 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak)
324 if (I->IvarD->getType().getLocalQualifiers().getObjCLifetime()
H A DTransGCAttrs.cpp250 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) {
252 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong)
H A DTransRetainReleaseDealloc.cpp86 if (rec->getType().getObjCLifetime() == Qualifiers::OCL_ExplicitNone &&
/external/clang/lib/CodeGen/
H A DCGValue.h260 Qualifiers::ObjCLifetime getObjCLifetime() const { function in class:clang::CodeGen::LValue
261 return Quals.getObjCLifetime();
550 Qualifiers::ObjCLifetime getObjCLifetime() const { function in class:clang::CodeGen::AggValueSlot
551 return Quals.getObjCLifetime();
H A DCGBlocks.cpp387 variable->getType().getObjCLifetime();
850 } else if (type.getObjCLifetime() == Qualifiers::OCL_Strong &&
1404 if (qs.getObjCLifetime() == Qualifiers::OCL_Weak) {
1408 } else if (qs.getObjCLifetime() == Qualifiers::OCL_Strong) {
1417 } else if (!qs.getObjCLifetime() && !getLangOpts().ObjCAutoRefCount) {
1576 if (qs.getObjCLifetime() == Qualifiers::OCL_Strong) {
1580 } else if (qs.getObjCLifetime() == Qualifiers::OCL_Weak) {
1968 if (Qualifiers::ObjCLifetime lifetime = qs.getObjCLifetime()) {
H A DCGDecl.cpp618 if (srcExpr->getType().getObjCLifetime() != Qualifiers::OCL_Weak)
660 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime();
769 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime();
1791 if (Qualifiers::ObjCLifetime lt = qs.getObjCLifetime()) {
H A DCGObjCRuntime.cpp289 switch (paramDecl->getType().getQualifiers().getObjCLifetime()) {
H A DCGObjC.cpp294 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong)
333 if (CE->getSubExpr()->getType().getObjCLifetime() == Qualifiers::OCL_Weak)
705 if (ivarType.getObjCLifetime() == Qualifiers::OCL_Strong)
1004 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) {
2395 switch (type.getObjCLifetime()) {
2422 type.getObjCLifetime() == Qualifiers::OCL_Strong) {
2441 type.getObjCLifetime() == Qualifiers::OCL_Weak &&
H A DCGExpr.cpp205 if (auto Lifetime = M->getType().getObjCLifetime()) {
355 auto ownership = M->getType().getObjCLifetime();
1422 if (LV.getQuals().getObjCLifetime() == Qualifiers::OCL_Weak) {
1595 if (Qualifiers::ObjCLifetime Lifetime = Dst.getQuals().getObjCLifetime()) {
3564 switch (DestroyedType.getObjCLifetime()) {
3616 switch (E->getLHS()->getType().getObjCLifetime()) {
/external/clang/include/clang/AST/
H A DType.h191 if (L.getObjCLifetime() == R.getObjCLifetime()) {
192 Q.setObjCLifetime(L.getObjCLifetime());
290 ObjCLifetime getObjCLifetime() const { function in class:clang::Qualifiers
305 ObjCLifetime lifetime = getObjCLifetime();
311 ObjCLifetime lifetime = getObjCLifetime();
374 addObjCLifetime(Q.getObjCLifetime());
388 if (getObjCLifetime() == Q.getObjCLifetime())
402 assert(getObjCLifetime()
980 Qualifiers::ObjCLifetime getObjCLifetime() const { function in class:clang::QualType
1179 Qualifiers::ObjCLifetime getObjCLifetime() const { function in class:clang::ExtQuals
[all...]
H A DASTContext.h1693 assert(type.getObjCLifetime() == Qualifiers::OCL_None);
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp73 = property->getType().getObjCLifetime();
138 } else if (auto ownership = T.getObjCLifetime()) {
228 if (Res->getType().getObjCLifetime())
502 PIDecl->getType().getObjCLifetime() == Qualifiers::OCL_None) {
703 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime();
792 Qualifiers::ObjCLifetime ivarLifetime = ivarType.getObjCLifetime();
1103 !PropertyIvarType.getObjCLifetime() &&
1212 Ivar->getType().getObjCLifetime())
H A DSemaTemplateDeduction.cpp882 if (ParamQs.getObjCLifetime() != ArgQs.getObjCLifetime() &&
1001 ArgQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone &&
2684 ((DeducedAQuals.getObjCLifetime() == Qualifiers::OCL_Strong &&
2685 AQuals.getObjCLifetime() == Qualifiers::OCL_None) ||
2687 DeducedAQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone))) {
2688 AQuals.setObjCLifetime(DeducedAQuals.getObjCLifetime());
H A DSemaOverload.cpp2386 ToQuals.getObjCLifetime() != Qualifiers::OCL_Autoreleasing ||
2399 (FromQuals.getObjCLifetime() != Qualifiers::OCL_Strong &&
2400 FromQuals.getObjCLifetime() != Qualifiers::OCL_Weak))
2843 ToQuals.getObjCLifetime() == Qualifiers::OCL_ExplicitNone)
2887 if (FromQuals.getObjCLifetime() != ToQuals.getObjCLifetime() &&
4083 if (T1Quals.getObjCLifetime() != T2Quals.getObjCLifetime() &&
9011 if (FromQs.getObjCLifetime() != ToQs.getObjCLifetime()) {
[all...]
H A DSemaExprCXX.cpp1352 AllocType.getObjCLifetime() == Qualifiers::OCL_None &&
1690 if (BaseAllocType.getObjCLifetime() == Qualifiers::OCL_None &&
3717 switch (T.getObjCLifetime()) {
3864 T.getObjCLifetime() == Qualifiers::OCL_Autoreleasing)
3910 T.getObjCLifetime() == Qualifiers::OCL_Autoreleasing)
4048 switch (T.getObjCLifetime()) {
5856 } else if (DestructedType.getObjCLifetime() !=
5857 ObjectType.getObjCLifetime()) {
5859 if (DestructedType.getObjCLifetime() == Qualifiers::OCL_None) {
H A DSemaExprMember.cpp1408 if (DE->getType().getObjCLifetime() == Qualifiers::OCL_Weak) {
1429 if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) {
H A DSemaPseudoObject.cpp590 return T.getObjCLifetime() == Qualifiers::OCL_Weak;
843 Qualifiers::ObjCLifetime LT = propType.getObjCLifetime();
H A DSemaExpr.cpp697 E->getType().getObjCLifetime() == Qualifiers::OCL_Weak)
1715 Ty.getObjCLifetime() == Qualifiers::OCL_Weak &&
2449 if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) {
6718 if (lhq.getObjCLifetime() != rhq.getObjCLifetime() &&
6739 else if (lhq.getObjCLifetime() != rhq.getObjCLifetime())
9576 if (LHSType.getObjCLifetime() == Qualifiers::OCL_Strong) {
11917 } else if (lhq.getObjCLifetime() != rhq.getObjCLifetime()) {
[all...]
H A DSemaExprObjC.cpp2984 IsWeak = ReturnType.getObjCLifetime() & Qualifiers::OCL_Weak;
4000 QDT.getObjCLifetime() != Qualifiers::OCL_None) {
4154 castType.getObjCLifetime() == Qualifiers::OCL_Weak &&
H A DSemaType.cpp1731 type.getObjCLifetime() != Qualifiers::OCL_None)
2409 if (declSpecType.getObjCLifetime()) return;
3864 << T.getQualifiers().getObjCLifetime();
4318 declSpecTy.getObjCLifetime() == Qualifiers::OCL_None) {
5135 = type.getQualifiers().getObjCLifetime()) {
/external/clang/lib/AST/
H A DTypePrinter.cpp1280 switch (T->getEquivalentType().getObjCLifetime()) {
1520 if (Qualifiers::ObjCLifetime lifetime = getObjCLifetime())
1571 if (Qualifiers::ObjCLifetime lifetime = getObjCLifetime()) {
H A DType.cpp43 ((getObjCLifetime() == Other.getObjCLifetime()) ||
1983 switch (getObjCLifetime()) {
2045 switch (getObjCLifetime()) {
2097 switch (getObjCLifetime()) {
2258 switch (getObjCLifetime()) {
3760 switch (type.getObjCLifetime()) {
H A DASTContext.cpp3015 (T.getObjCLifetime() == Qualifiers::OCL_None ||
3016 T.getObjCLifetime() == Qualifiers::OCL_ExplicitNone);
4759 if (T.getObjCLifetime() != Qualifiers::OCL_None)
4760 return T.getObjCLifetime();
4972 if (Qualifiers::ObjCLifetime lifetime = qs.getObjCLifetime()) {
5006 } else if ((LifeTime = Ty.getObjCLifetime())) {
7552 LQuals.getObjCLifetime() != RQuals.getObjCLifetime())

Completed in 588 milliseconds

12