From d9a8bbcf8db776de126aa6dc15d66e2ce666d70d Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 11 Sep 2010 20:47:38 +0000 Subject: [PATCH] Add a completely unnecessary "template" keyword to appease GCC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113703 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/EvaluatedExprVisitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/AST/EvaluatedExprVisitor.h b/include/clang/AST/EvaluatedExprVisitor.h index dcb125497b..6835a76699 100644 --- a/include/clang/AST/EvaluatedExprVisitor.h +++ b/include/clang/AST/EvaluatedExprVisitor.h @@ -63,7 +63,7 @@ public: // a glvalue of polymorphic type. (C++ 5.2.8p2-3) if (!E->isTypeOperand() && E->Classify(Context).isGLValue()) if (const RecordType *Record - = E->getExprOperand()->getType()->getAs()) + = E->getExprOperand()->getType()->template getAs()) if (cast(Record->getDecl())->isPolymorphic()) return this->Visit(E->getExprOperand()); } -- 2.50.1