diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-12-12 22:48:25 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-12-12 22:48:25 +0000 |
commit | f5b993f7b149d6db83de5db3f2dcc0d45c5c6882 (patch) | |
tree | 5beb09f1695c1e497afa784e05a7a205ae91d69f /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 61b2f2bc9e90b0fc688b401195f40b34f90a585a (diff) | |
download | llvm-f5b993f7b149d6db83de5db3f2dcc0d45c5c6882.zip llvm-f5b993f7b149d6db83de5db3f2dcc0d45c5c6882.tar.gz llvm-f5b993f7b149d6db83de5db3f2dcc0d45c5c6882.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions