1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Fixed MSVC 'not all control paths return a value' warning

llvm-svn: 268198
This commit is contained in:
Simon Pilgrim 2016-05-01 15:52:31 +00:00
parent 4ed5a81a43
commit d7734a09e2

View File

@ -9574,6 +9574,7 @@ static StringRef loopDispositionToStr(ScalarEvolution::LoopDisposition LD) {
case ScalarEvolution::LoopComputable:
return "Computable";
}
llvm_unreachable("Unknown ScalarEvolution::LoopDisposition kind!");
}
void ScalarEvolution::print(raw_ostream &OS) const {