[llvm] r268198 - Fixed MSVC 'not all control paths return a value' warning
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun May 1 08:52:31 PDT 2016
Author: rksimon
Date: Sun May 1 10:52:31 2016
New Revision: 268198
URL: http://llvm.org/viewvc/llvm-project?rev=268198&view=rev
Log:
Fixed MSVC 'not all control paths return a value' warning
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=268198&r1=268197&r2=268198&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Sun May 1 10:52:31 2016
@@ -9574,6 +9574,7 @@ static StringRef loopDispositionToStr(Sc
case ScalarEvolution::LoopComputable:
return "Computable";
}
+ llvm_unreachable("Unknown ScalarEvolution::LoopDisposition kind!");
}
void ScalarEvolution::print(raw_ostream &OS) const {
More information about the llvm-commits
mailing list