[llvm-bugs] [Bug 37977] New: [WebAssembly] Switch statement contains 'default' but no 'case' labels

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 28 10:20:28 PDT 2018


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

            Bug ID: 37977
           Summary: [WebAssembly] Switch statement contains 'default' but
                    no 'case' labels
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: llvm-bugs at lists.llvm.org

E:\llvm\llvm\lib\Target\WebAssembly\WebAssemblyISelDAGToDAG.cpp(86):
warning C4065: switch statement contains 'default' but no 'case' labels

  switch (Node->getOpcode()) {
  default:
    break;
    // If we need WebAssembly-specific selection, it would go here.
    (void)VT;
  }

This placeholder prevents Werror builds from compiling - I'd recommend removing
everything but the comment.

-- 
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/20180628/3659cf1f/attachment.html>


More information about the llvm-bugs mailing list