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 | 5cf85cc9772befee3f8b9420cdc2583dbec3f97c (patch) | |
| tree | 44bcf9e59c1e56c61b64d35ae55b504f5bf5600f /clang | |
| parent | 582be4db34ec4869ac697772187a512e895e789b (diff) | |
| download | bcm5719-llvm-5cf85cc9772befee3f8b9420cdc2583dbec3f97c.tar.gz bcm5719-llvm-5cf85cc9772befee3f8b9420cdc2583dbec3f97c.zip | |
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.
llvm-svn: 54597
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index adc52e236c1..e516beb0ac7 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/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, |

