Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp214 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in rewriteAssign() local
218 (canUseWeak ? "weak" : "unsafe_unretained"); in rewriteAssign()
222 canUseWeak = false; in rewriteAssign()
230 (canUseWeak ? "__weak " : "__unsafe_unretained "); in rewriteAssign()
244 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in maybeAddWeakOrUnsafeUnretainedAttr() local
247 bool addedAttr = addAttribute(canUseWeak ? "weak" : "unsafe_unretained", in maybeAddWeakOrUnsafeUnretainedAttr()
250 canUseWeak = false; in maybeAddWeakOrUnsafeUnretainedAttr()
257 canUseWeak ? "__weak " : "__unsafe_unretained "); in maybeAddWeakOrUnsafeUnretainedAttr()