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

Richard Smith <richard-l...@metafoo.co.uk> changed:

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

--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
Oops, it appears that clang does not diagnose /any/ "never produces a constant
expression" issues in constexpr functions with 'void' return type and no
'return' statements.

Fixed in r246347.

(Clang wasn't actually /wrong/ here, per se, as this issue is "no diagnostic
required", but still...)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to