r189606 - Silencing the warning from r189605 in a more conformant manner.
Aaron Ballman
aaron at aaronballman.com
Thu Aug 29 13:36:09 PDT 2013
Author: aaronballman
Date: Thu Aug 29 15:36:09 2013
New Revision: 189606
URL: http://llvm.org/viewvc/llvm-project?rev=189606&view=rev
Log:
Silencing the warning from r189605 in a more conformant manner.
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=189606&r1=189605&r2=189606&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/Consumed.cpp (original)
+++ cfe/trunk/lib/Analysis/Consumed.cpp Thu Aug 29 15:36:09 2013
@@ -74,9 +74,9 @@ static bool isKnownState(ConsumedState S
return true;
case CS_None:
case CS_Unknown:
- default:
return false;
}
+ llvm_unreachable("invalid enum");
}
static bool isTestingFunction(const FunctionDecl *FunDecl) {
More information about the cfe-commits
mailing list