[all-commits] [llvm/llvm-project] c8b151: [mlir-opt] Fix -Wcovered-switch-default in MlirOpt...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Nov 27 19:23:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8b15157d70c57489b9aba939065c01c3f697ddb
      https://github.com/llvm/llvm-project/commit/c8b15157d70c57489b9aba939065c01c3f697ddb
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp

  Log Message:
  -----------
  [mlir-opt] Fix -Wcovered-switch-default in MlirOptMain.cpp (NFC)

/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:262:7:
error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
      default:
      ^
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list