[cfe-commits] r84073 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Tue Oct 13 22:07:51 PDT 2009
Author: zhongxingxu
Date: Wed Oct 14 00:07:51 2009
New Revision: 84073
URL: http://llvm.org/viewvc/llvm-project?rev=84073&view=rev
Log:
Remove dead code.
Modified:
cfe/trunk/lib/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=84073&r1=84072&r2=84073&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Wed Oct 14 00:07:51 2009
@@ -1167,19 +1167,6 @@
}
else {
SVal V = state->getSVal(cast<Loc>(location), Ex->getType());
-
- // Casts can create weird scenarios where a location must be implicitly
- // converted to something else. For example:
- //
- // void *x;
- // int *y = (int*) &x; // void** -> int* cast.
- // invalidate(y); // 'x' now binds to a symbolic region
- // int z = *y;
- //
- //if (isa<Loc>(V) && !Loc::IsLocType(Ex->getType())) {
- // V = EvalCast(V, Ex->getType());
- //}
-
MakeNode(Dst, Ex, Pred, state->BindExpr(Ex, V), K, tag);
}
}
More information about the cfe-commits
mailing list