From d9a8bbcf8db776de126aa6dc15d66e2ce666d70d Mon Sep 17 00:00:00 2001 From: Douglas Gregor <dgregor@apple.com> 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 dcb125497bc..6835a76699a 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<RecordType>()) + = E->getExprOperand()->getType()->template getAs<RecordType>()) if (cast<CXXRecordDecl>(Record->getDecl())->isPolymorphic()) return this->Visit(E->getExprOperand()); } -- GitLab