[all-commits] [llvm/llvm-project] a5b45b: Fix -Wcovered-switch-default in MachOUniversalWrit...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Sat Sep 30 16:05:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b45b48ece35f05ed53440bc792193db52b8b1b
      https://github.com/llvm/llvm-project/commit/a5b45b48ece35f05ed53440bc792193db52b8b1b
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-10-01 (Sun, 01 Oct 2023)

  Changed paths:
    M llvm/lib/Object/MachOUniversalWriter.cpp

  Log Message:
  -----------
  Fix -Wcovered-switch-default in MachOUniversalWriter.cpp (NFC)

/llvm-project/llvm/lib/Object/MachOUniversalWriter.cpp:351:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  default:
  ^
1 error generated.




More information about the All-commits mailing list