]> granicus.if.org Git - clang/commitdiff
ExprConstant should not abort when it sees a pointer constant that isn't.
authorChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 07:20:11 +0000 (07:20 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 07:20:11 +0000 (07:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57162 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ExprConstant.cpp

index af30ceb96c3ed1b3599be1e67e6e171bea6a3c53..01dad74fa1857eced30754c650e5bb40e12ca7ca 100644 (file)
@@ -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();
   }