Skip to content

Commit f2cd4d2

Browse files
author
Sasha Krassovsky
committed
Fix warning in sil-passpipeline-dumper
1 parent 318fdc8 commit f2cd4d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/sil-passpipeline-dumper/SILPassPipelineDumper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &os, PassPipelineKind Kind) {
4040
return os << #NAME;
4141
#include "swift/SILOptimizer/PassManager/PassPipeline.def"
4242
}
43+
llvm_unreachable("Unhandled PassPipelineKind in switch");
4344
}
4445
} // namespace llvm
4546

0 commit comments

Comments
 (0)