Rename UnaryTypeTraitExpr::Evaluate to EvaluateTrait to not collide
with Expr::Evaluate().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64850 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index ad83e37..ccea646 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -552,7 +552,7 @@
bool VisitUnaryTypeTraitExpr(const UnaryTypeTraitExpr *E) {
Result.zextOrTrunc(getIntTypeSizeInBits(E->getType()));
- Result = E->Evaluate();
+ Result = E->EvaluateTrait();
return true;
}