[cfe-commits] r57162 - /cfe/trunk/lib/AST/ExprConstant.cpp
Chris Lattner
sabre at nondot.org
Mon Oct 6 00:20:11 PDT 2008
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();
}
More information about the cfe-commits
mailing list