Skip to content

Commit 83b1b47

Browse files
committed
NFC: Fix warning in ModuleFileSharedCore.cpp.
1 parent 455f3dc commit 83b1b47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Serialization/ModuleFileSharedCore.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,8 @@ std::string serialization::StatusToString(Status S) {
531531
case Status::TargetIncompatible: return "TargetIncompatible";
532532
case Status::TargetTooNew: return "TargetTooNew";
533533
case Status::SDKMismatch: return "SDKMismatch";
534-
default:
535-
llvm_unreachable("The switch should cover all cases");
536534
}
535+
llvm_unreachable("The switch should cover all cases");
537536
}
538537

539538
bool serialization::isSerializedAST(StringRef data) {

0 commit comments

Comments
 (0)