[all-commits] [llvm/llvm-project] 66ff40: [mlir] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Aug 29 12:21:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66ff408c724a5c349d43393aea8bb10e52cc3d48
      https://github.com/llvm/llvm-project/commit/66ff408c724a5c349d43393aea8bb10e52cc3d48
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp

  Log Message:
  -----------
  [mlir] Fix a warning

This patch fixes:

  mlir/lib/Target/Cpp/TranslateToCpp.cpp:320:3: error: default label
  in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]




More information about the All-commits mailing list