[cfe-commits] r54597 - /cfe/trunk/lib/AST/ExprConstant.cpp
Eli Friedman
eli.friedman at gmail.com
Sat Aug 9 15:21:56 PDT 2008
Author: efriedma
Date: Sat Aug 9 17:21:56 2008
New Revision: 54597
URL: http://llvm.org/viewvc/llvm-project?rev=54597&view=rev
Log:
Turn on the new constant expression evaluator; it isn't
anywhere near complete, but I don't know of any issues, and it can
handle enough to allow removing the I-C-E pointer cast hack.
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=54597&r1=54596&r2=54597&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Sat Aug 9 17:21:56 2008
@@ -21,7 +21,7 @@
using namespace clang;
using llvm::APSInt;
-#define USE_NEW_EVALUATOR 0
+#define USE_NEW_EVALUATOR 1
static bool CalcFakeICEVal(const Expr *Expr,
llvm::APSInt &Result,
More information about the cfe-commits
mailing list