[LLVMbugs] [Bug 7495] LLVM/Clang does not allow ivar access for synthesised ivars without @synthesized

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 31 17:21:33 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=7495

Fariborz Jahanian <fjahanian at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #8 from Fariborz Jahanian <fjahanian at apple.com> ---
synthesized ivars as a result of default property synthesis use property name
with an underscore. So, your test case need be modified as:

% diff test.m test.fixit.m 
14c14
<         NSLog(@"test:%@", window);
---
>         NSLog(@"test:%@", _window);

Please let me know if other issues here. Preferably by opening a new bugzilla
report and cc'ing me on it. Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130601/223d13a5/attachment.html>


More information about the llvm-bugs mailing list