Searched refs:canUseWeak (Results 1 – 1 of 1) sorted by relevance
216 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in rewriteAssign() local220 (canUseWeak ? "weak" : "unsafe_unretained"); in rewriteAssign()224 canUseWeak = false; in rewriteAssign()232 (canUseWeak ? "__weak " : "__unsafe_unretained "); in rewriteAssign()246 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in maybeAddWeakOrUnsafeUnretainedAttr() local249 bool addedAttr = addAttribute(canUseWeak ? "weak" : "unsafe_unretained", in maybeAddWeakOrUnsafeUnretainedAttr()252 canUseWeak = false; in maybeAddWeakOrUnsafeUnretainedAttr()259 canUseWeak ? "__weak " : "__unsafe_unretained "); in maybeAddWeakOrUnsafeUnretainedAttr()