[LLVMbugs] [Bug 18877] No -Wempty-body warning for empty body with a prefix label

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 18 10:28:43 PST 2014


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

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Right. This warning is to detect the 'stray semicolon' bug:

  if (foo);

The labeled semicolon case doesn't match this pattern.

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/20140218/9cc0d3fc/attachment.html>

More information about the llvm-bugs mailing list