[all-commits] [llvm/llvm-project] a4525f: [CodeGen] Fix -Wcovered-switch-default in Combiner...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Aug 15 06:18:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4525fcc8f127139a493164c360725ae4c6c87b3
      https://github.com/llvm/llvm-project/commit/a4525fcc8f127139a493164c360725ae4c6c87b3
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Combiner.cpp

  Log Message:
  -----------
  [CodeGen] Fix -Wcovered-switch-default in Combiner.cpp (NFC)

/llvm-project/llvm/lib/CodeGen/GlobalISel/Combiner.cpp:220:3:
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