[LLVMbugs] [Bug 15595] '-Winvalid-return' triggers warning for destructor with 'noreturn' attribute

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 26 08:28:27 PDT 2013


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

David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dblaikie at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Blaikie <dblaikie at gmail.com> ---
This seems like entirely correct behavior and I would expect it to happen for
any function. The annotation says the function will not return (it should
exit(1) or unconditionally call another note turn function, etc) yet it clearly
does nothing to atop from returning.

-- 
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/20130326/fb77f2aa/attachment.html>


More information about the llvm-bugs mailing list