a flag (objc GC).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82052
91177308-0d34-0410-b5e6-
96231b3b80d8
LValue LV = LValue::MakeAddr(V, E->getType().getCVRQualifiers(),
getContext().getObjCGCAttrKind(E->getType()),
E->getType().getAddressSpace());
- if (LV.isObjCStrong())
- LV.SetGlobalObjCRef(LV, true);
+ LV.SetGlobalObjCRef(LV, true);
return LV;
} else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(E->getDecl())) {
llvm::Value* V = CGM.GetAddrOfFunction(FD);