aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
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
commit7cecee8da98e86cf7118d15a0f198b98956089a7 (patch)
tree350769e5cd73e1d9d4400d71e4f75a68c50c4c5f /lib/AST/ExprConstant.cpp
parent564ea2a99b3afeac9ded332730a56db1f6358a58 (diff)
ExprConstant should not abort when it sees a pointer constant that isn't.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r--lib/AST/ExprConstant.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index af30ceb96c..01dad74fa1 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/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();
}