r188237 - Silence a warning from MSVC about not returning a value
Reid Kleckner
reid at kleckner.net
Mon Aug 12 17:11:59 PDT 2013
Author: rnk
Date: Mon Aug 12 19:11:59 2013
New Revision: 188237
URL: http://llvm.org/viewvc/llvm-project?rev=188237&view=rev
Log:
Silence a warning from MSVC about not returning a value
Modified:
cfe/trunk/lib/Analysis/Consumed.cpp
Modified: cfe/trunk/lib/Analysis/Consumed.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/Consumed.cpp?rev=188237&r1=188236&r2=188237&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/Consumed.cpp (original)
+++ cfe/trunk/lib/Analysis/Consumed.cpp Mon Aug 12 19:11:59 2013
@@ -62,6 +62,7 @@ static StringRef stateToString(ConsumedS
case consumed::CS_Consumed:
return "consumed";
}
+ llvm_unreachable("invalid enum");
}
namespace {
More information about the cfe-commits
mailing list