diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-17 23:20:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-17 23:20:26 +0000 |
commit | c87a282e7b80c055088fc51bdbe8fc73da64d4f8 (patch) | |
tree | dce64ed54532e7fa8a2aeb71c0c57617872cdf3c /lib/AST/ExprConstant.cpp | |
parent | b2d2b40834817913844cdd4e778fb109a6d5f9ed (diff) |
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
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r-- | lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index ad83e372b4..ccea646fb7 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -552,7 +552,7 @@ public: bool VisitUnaryTypeTraitExpr(const UnaryTypeTraitExpr *E) { Result.zextOrTrunc(getIntTypeSizeInBits(E->getType())); - Result = E->Evaluate(); + Result = E->EvaluateTrait(); return true; } |