Skip to content
Commit f5b993f7 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[objc] For the ARC error that is emitted when a synthesized property implementation

has inconsistent ownership with the backing ivar, point the error location to the
ivar.

Pointing to the ivar (instead of the @synthesize) is better since this is where a fix is needed.
Also provide the location of @synthesize via a note.

This also fixes the problem where an auto-synthesized property would emit an error without
any location.

llvm-svn: 170039
parent 61b2f2bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment