aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CheckDeadStores.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-08-09 00:41:45 +0000
committerTed Kremenek <kremenek@apple.com>2008-08-09 00:41:45 +0000
commit23f7823b3cc2e811d4c2f6d47f7e948e3658dc92 (patch)
tree4bd6f85b2bcf74411721916cae13fd038cc7dc91 /lib/Analysis/CheckDeadStores.cpp
parent5b7f0c8f470f0b23ee95e467b5951e2bed733be1 (diff)
Added FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CheckDeadStores.cpp')
-rw-r--r--lib/Analysis/CheckDeadStores.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/CheckDeadStores.cpp b/lib/Analysis/CheckDeadStores.cpp
index 9d9e68d2ef..73cb3f786b 100644
--- a/lib/Analysis/CheckDeadStores.cpp
+++ b/lib/Analysis/CheckDeadStores.cpp
@@ -133,6 +133,7 @@ public:
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;
}