From 6ee7aa154e8bbb21a21254293410b944f78b0bfe Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 16 Nov 2008 21:24:15 +0000 Subject: rename Expr::tryEvaluate to Expr::Evaluate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59426 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CodeGenFunction.cpp') diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index e6deaa7475..ff05f6e585 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -197,7 +197,7 @@ int CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond) { // FIXME: Rename and handle conversion of other evaluatable things // to bool. - if (!Cond->tryEvaluate(V, getContext()) || !V.isInt()) + if (!Cond->Evaluate(V, getContext()) || !V.isInt()) return 0; // Not foldable or not integer. if (CodeGenFunction::ContainsLabel(Cond)) -- cgit v1.2.3-18-g5258