[llvm-bugs] [Bug 37201] Should clang warn when modifying a sub-field of a constant sub-object?

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 23 18:27:16 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37201

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
I find it hard to imagine a warning on such constructs would have an acceptable
false-positive rate (it seems hard to even come up with a case where a warning
on this pattern would be justified). Please reopen if you have evidence to the
contrary.

-- 
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/20180424/a73d3270/attachment.html>


More information about the llvm-bugs mailing list