summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-06 07:20:11 +0000
committerChris Lattner <sabre@nondot.org>2008-10-06 07:20:11 +0000
commit2c091b1ead0c834a63a1c9fbdb5a17537ae65fb7 (patch)
tree2cb5fc7c151fee8a81508d4db2bcfea85718029b
parent24355b524041fb91e82664c1279b5c98daf8a3f9 (diff)
downloadbcm5719-llvm-2c091b1ead0c834a63a1c9fbdb5a17537ae65fb7.tar.gz
bcm5719-llvm-2c091b1ead0c834a63a1c9fbdb5a17537ae65fb7.zip
ExprConstant should not abort when it sees a pointer constant that isn't.
llvm-svn: 57162
-rw-r--r--clang/lib/AST/ExprConstant.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index af30ceb96c3..01dad74fa18 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -79,9 +79,6 @@ public:
PointerExprEvaluator(EvalInfo &info) : Info(info) {}
APValue VisitStmt(Stmt *S) {
- // FIXME: Remove this when we support more expressions.
- printf("Unhandled pointer statement\n");
- S->dump();
return APValue();
}
OpenPOWER on IntegriCloud