[all-commits] [llvm/llvm-project] 1b60dd: [Hurd] Fix -Wswitch in Hurd::getDynamicLinker (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Jan 17 15:35:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b60ddd920e0caadfa85cc7013b559d6453d7e3e
      https://github.com/llvm/llvm-project/commit/1b60ddd920e0caadfa85cc7013b559d6453d7e3e
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Hurd.cpp

  Log Message:
  -----------
  [Hurd] Fix -Wswitch in Hurd::getDynamicLinker (NFC)

llvm-project/clang/lib/Driver/ToolChains/Hurd.cpp:137:11:
 error: 60 enumeration values not handled in switch: 'UnknownArch', 'arm', 'armeb'... [-Werror,-Wswitch]
  switch (getArch()) {
          ^~~~~~~~~
1 error generated.




More information about the All-commits mailing list