[all-commits] [llvm/llvm-project] f10b1c: [Clang][OpenMP] Fix -Wcovered-switch-default in CG...

Jie Fu via All-commits all-commits at lists.llvm.org
Wed Jun 7 05:25:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f10b1c5f3cbef76b189566332eebabd017296655
      https://github.com/llvm/llvm-project/commit/f10b1c5f3cbef76b189566332eebabd017296655
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp

  Log Message:
  -----------
  [Clang][OpenMP] Fix -Wcovered-switch-default in CGOpenMPRuntime.cpp (NFC)

/data/llvm-project/clang/lib/CodeGen/CGOpenMPRuntime.cpp:1621:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  default:
  ^
/data/llvm-project/clang/lib/CodeGen/CGOpenMPRuntime.cpp:1643:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  default:
  ^
2 errors generated.




More information about the All-commits mailing list