diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-08-09 00:41:45 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-08-09 00:41:45 +0000 |
| commit | 4455a9d3785673aee04808752bacf3687d618be3 (patch) | |
| tree | 4eac40b73b8f49548a9c3fc133bb77a2527e607c /clang/lib/Analysis/CheckDeadStores.cpp | |
| parent | 5c45c9b0632a063815fc637debf2b22199803964 (diff) | |
| download | bcm5719-llvm-4455a9d3785673aee04808752bacf3687d618be3.tar.gz bcm5719-llvm-4455a9d3785673aee04808752bacf3687d618be3.zip | |
Added FIXME.
llvm-svn: 54568
Diffstat (limited to 'clang/lib/Analysis/CheckDeadStores.cpp')
| -rw-r--r-- | clang/lib/Analysis/CheckDeadStores.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/CheckDeadStores.cpp b/clang/lib/Analysis/CheckDeadStores.cpp index 9d9e68d2ef8..73cb3f786b2 100644 --- a/clang/lib/Analysis/CheckDeadStores.cpp +++ b/clang/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; } |

