From: Ted Kremenek Date: Sat, 9 Aug 2008 00:41:45 +0000 (+0000) Subject: Added FIXME. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23f7823b3cc2e811d4c2f6d47f7e948e3658dc92;p=clang Added FIXME. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54568 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }