HomePhabricator

Be more conservative about diagnosing "incorrect" uses of __weak: allow them to…

Authored by rjmccall on Oct 26 2015, 9:54 PM.

Description

Be more conservative about diagnosing "incorrect" uses of __weak: allow them to be written in certain kinds of user declaration and diagnose on the use-site instead.

Also, improve and fix some diagnostics relating to __weak and
properties.

rdar://23228631

llvm-svn: 251384

Details

Committed
rjmccallOct 26 2015, 9:54 PM
Parents
rGc692688cbd6e: [SimplifyLibCalls] Use range-based loop. No functional change.
Branches
Unknown
Tags
Unknown