[llvm-bugs] [Bug 38752] New: Spurious Unreachable Code Warning Shown For Constexpr Functions

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 29 03:40:56 PDT 2018


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

            Bug ID: 38752
           Summary: Spurious Unreachable Code Warning Shown For Constexpr
                    Functions
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: badwaik.jayesh at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 20793
  --> https://bugs.llvm.org/attachment.cgi?id=20793&action=edit
Minimal Example that produces the warning spuriously. Also available at
https://github.com/sutarwadi/clang-constexpr-warning

Attached example gives a spurious unreachable code warning.

-- 
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/20180829/da1f92d6/attachment.html>


More information about the llvm-bugs mailing list