Author: lattner
Date: Mon Oct 6 02:20:11 2008
New Revision: 57162
URL: http://llvm.org/viewvc/llvm-project?rev=57162&view=rev
Log:
ExprConstant should not abort when it sees a pointer constant that isn't.
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=57162&r1=57161&r2=57162&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Mon Oct 6 02:20:11 2008
@@ -79,9 +79,6 @@
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();
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits