Skip to content

Commit ebccb92

Browse files
authored
Merge pull request #32548 from compnerd/covering
Sema: silence some uncovered warnings on MSVC (NFC)
2 parents 336d63f + 87d2cdc commit ebccb92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Sema/ConstraintSystem.h

+2
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ class SolutionApplicationTargetsKey {
917917
(lhs.storage.patternBindingEntry.index
918918
== rhs.storage.patternBindingEntry.index);
919919
}
920+
llvm_unreachable("invalid SolutionApplicationTargetsKey kind");
920921
}
921922

922923
friend bool operator!=(
@@ -951,6 +952,7 @@ class SolutionApplicationTargetsKey {
951952
DenseMapInfo<unsigned>::getHashValue(
952953
storage.patternBindingEntry.index));
953954
}
955+
llvm_unreachable("invalid statement kind");
954956
}
955957
};
956958

0 commit comments

Comments
 (0)