[cfe-commits] r54568 - /cfe/trunk/lib/Analysis/CheckDeadStores.cpp
Ted Kremenek
kremenek at apple.com
Fri Aug 8 17:41:45 PDT 2008
Author: kremenek
Date: Fri Aug 8 19:41:45 2008
New Revision: 54568
URL: http://llvm.org/viewvc/llvm-project?rev=54568&view=rev
Log:
Added FIXME.
Modified:
cfe/trunk/lib/Analysis/CheckDeadStores.cpp
Modified: cfe/trunk/lib/Analysis/CheckDeadStores.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CheckDeadStores.cpp?rev=54568&r1=54567&r2=54568&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CheckDeadStores.cpp (original)
+++ cfe/trunk/lib/Analysis/CheckDeadStores.cpp Fri Aug 8 19:41:45 2008
@@ -133,6 +133,7 @@
if (VD->getType()->isPointerType()) {
if (IntegerLiteral* L =
dyn_cast<IntegerLiteral>(B->getRHS()->IgnoreParenCasts()))
+ // FIXME: Probably should have an Expr::isNullPointerConstant.
if (L->getValue() == 0)
return;
}
More information about the cfe-commits
mailing list