From 23f7823b3cc2e811d4c2f6d47f7e948e3658dc92 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Sat, 9 Aug 2008 00:41:45 +0000 Subject: [PATCH] Added FIXME. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54568 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/CheckDeadStores.cpp | 1 + 1 file changed, 1 insertion(+) 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(B->getRHS()->IgnoreParenCasts())) + // FIXME: Probably should have an Expr::isNullPointerConstant. if (L->getValue() == 0) return; } -- 2.50.1