r204375 - Remove dead assignment dominated by a call to llvm_unreachable().
Ted Kremenek
kremenek at apple.com
Thu Mar 20 11:47:50 PDT 2014
Author: kremenek
Date: Thu Mar 20 13:47:50 2014
New Revision: 204375
URL: http://llvm.org/viewvc/llvm-project?rev=204375&view=rev
Log:
Remove dead assignment dominated by a call to llvm_unreachable().
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp?rev=204375&r1=204374&r2=204375&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp Thu Mar 20 13:47:50 2014
@@ -1832,7 +1832,6 @@ void ExprEngine::VisitMemberExpr(const M
dyn_cast<ImplicitCastExpr>((*I)->getParentMap().getParent(M));
if (!PE || PE->getCastKind() != CK_ArrayToPointerDecay) {
llvm_unreachable("should always be wrapped in ArrayToPointerDecay");
- L = UnknownVal();
}
}
More information about the cfe-commits
mailing list