rename "SInt" methods to "Int" in APValue.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53467 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index 5826fab..424d95e 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -386,9 +386,9 @@
//===----------------------------------------------------------------------===//
bool Expr::tryEvaluate(APValue &Result, ASTContext &Ctx) const {
+ llvm::APSInt sInt(32);
#if USE_NEW_EVALUATOR
if (getType()->isIntegerType()) {
- llvm::APSInt sInt(32);
if (EvaluateInteger(this, sInt, Ctx)) {
Result = APValue(sInt);
return true;