diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-08-09 22:21:56 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-08-09 22:21:56 +0000 |
commit | 2eb0ddc1baaee173ea0dccf2a4edef48638b902d (patch) | |
tree | ce85049626fdf08ba5a82b859421c5608e445167 /lib/AST/ExprConstant.cpp | |
parent | b243fe5a812faddf9ec39525727739a85f603ae6 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r-- | lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index adc52e236c..e516beb0ac 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -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, |