]> granicus.if.org Git - clang/commitdiff
Added FIXME.
authorTed Kremenek <kremenek@apple.com>
Sat, 9 Aug 2008 00:41:45 +0000 (00:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 9 Aug 2008 00:41:45 +0000 (00:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54568 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CheckDeadStores.cpp

index 9d9e68d2ef81c5ef4f9b8fb74db03f2a7fc1ab09..73cb3f786b2c134db5378b3bbb9b62daf5786905 100644 (file)
@@ -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;
           }