[llvm-bugs] [Bug 31781] -Wunused-const-variable doesn't warn for ObjC types if ARC is enabled
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 31 11:44:27 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31781
John McCall <rjmccall at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from John McCall <rjmccall at apple.com> ---
No, I think warning about an unused global variable is still pretty reasonable
under ARC. There are plenty of ways to suppress the warning if you're really
relying on the side-effects of destruction.
--
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/20170131/037f726d/attachment.html>
More information about the llvm-bugs
mailing list