diff options
author | Anders Carlsson <andersca@mac.com> | 2008-12-01 02:25:52 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-12-01 02:25:52 +0000 |
commit | 07b5cc0f4047761acb32550c4463a68a2ceca6d7 (patch) | |
tree | 8fd6945052ecccfa7f5675339159f598dd2ce73b /lib/AST/Expr.cpp | |
parent | 4000ea685acfb3e827040ce0e172e13243c2edae (diff) |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index a4f7f8bf40..4c86ce67ef 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -1051,9 +1051,6 @@ bool Expr::isNullPointerConstant(EvalResult &Result, ASTContext &Ctx) const { // test for the value 0. return Evaluate(Result, Ctx) && !Result.HasSideEffects && Result.Val.isInt() && Result.Val.getInt() == 0; - - llvm::APSInt Val(32); - return isIntegerConstantExpr(Val, Ctx, 0, true) && Val == 0; } /// isBitField - Return true if this expression is a bit-field. |