Home
last modified time | relevance | path

Searched refs:canUseWeak (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransProperties.cpp216 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in rewriteAssign() local
220 (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() local
249 bool addedAttr = addAttribute(canUseWeak ? "weak" : "unsafe_unretained", in maybeAddWeakOrUnsafeUnretainedAttr()
252 canUseWeak = false; in maybeAddWeakOrUnsafeUnretainedAttr()
259 canUseWeak ? "__weak " : "__unsafe_unretained "); in maybeAddWeakOrUnsafeUnretainedAttr()