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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to