[all-commits] [llvm/llvm-project] 1f3fa9: [llvm-cov] Fix -Wcovered-switch-default in Coverag...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Sep 6 07:31:23 PDT 2023


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

  Changed paths:
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

  Log Message:
  -----------
  [llvm-cov] Fix -Wcovered-switch-default in CoverageMapping.cpp (NFC)

/Users/jiefu/llvm-project/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp:959: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