File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7103,7 +7103,6 @@ class DefaultedComparisonVisitor {
7103
7103
ResultList Results;
7104
7104
7105
7105
switch (DCK) {
7106
- default:
7107
7106
case DefaultedComparisonKind::None:
7108
7107
llvm_unreachable("not a defaulted comparison");
7109
7108
@@ -7118,6 +7117,7 @@ class DefaultedComparisonVisitor {
7118
7117
ParamLvalType, getDerived().getCompleteObject()));
7119
7118
return Results;
7120
7119
}
7120
+ llvm_unreachable("");
7121
7121
}
7122
7122
7123
7123
protected:
@@ -7593,7 +7593,6 @@ class DefaultedComparisonSynthesizer
7593
7593
return StmtError();
7594
7594
7595
7595
switch (DCK) {
7596
- default:
7597
7596
case DefaultedComparisonKind::None:
7598
7597
llvm_unreachable("not a defaulted comparison");
7599
7598
@@ -7660,6 +7659,7 @@ class DefaultedComparisonSynthesizer
7660
7659
// Otherwise, the operator function yields x @ y.
7661
7660
return Op.get();
7662
7661
}
7662
+ llvm_unreachable("");
7663
7663
}
7664
7664
7665
7665
/// Build "static_cast<R>(E)".
You can’t perform that action at this time.
0 commit comments