[all-commits] [llvm/llvm-project] 9c5b38: [Coverage] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Sep 22 09:50:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c5b38b49fa2a1a81dac78faa0a8432eff495615
      https://github.com/llvm/llvm-project/commit/9c5b38b49fa2a1a81dac78faa0a8432eff495615
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

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

  Log Message:
  -----------
  [Coverage] Fix a warning

This patch fixes:

  llvm/lib/ProfileData/Coverage/CoverageMapping.cpp:219:5: error:
  default label in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]




More information about the All-commits mailing list