commit | 6ee7aa154e8bbb21a21254293410b944f78b0bfe | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Nov 16 21:24:15 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Nov 16 21:24:15 2008 +0000 |
tree | 1c72e4ab41df953f8e3a89b34b162b3183ff12f8 | |
parent | 9ad16aebc0e840a5e7d425da72eb6cbe25e4b58c [diff] [blame] |
rename Expr::tryEvaluate to Expr::Evaluate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59426 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 871dc4b..29d9a11 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp
@@ -798,7 +798,7 @@ // reject it. if (CE->isBuiltinCall()) { APValue ResultAP; - if (CE->tryEvaluate(ResultAP, Ctx)) { + if (CE->Evaluate(ResultAP, Ctx)) { Result = ResultAP.getInt(); break; // It is a constant, expand it. }