diff options
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 871dc4bb77..29d9a11de7 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -798,7 +798,7 @@ bool Expr::isIntegerConstantExpr(llvm::APSInt &Result, ASTContext &Ctx, // 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. } |