Skip to content

Commit 9c5b38b

Browse files
[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]
1 parent 2e7d83d commit 9c5b38b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ Expected<int64_t> CounterMappingContext::evaluate(const Counter &C) const {
216216
}
217217
break;
218218
}
219-
default:
220-
llvm_unreachable("Unhandled CounterKind");
221219
}
222220
}
223221

0 commit comments

Comments
 (0)