From: Douglas Gregor Date: Sat, 11 Sep 2010 20:47:38 +0000 (+0000) Subject: Add a completely unnecessary "template" keyword to appease GCC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9a8bbcf8db776de126aa6dc15d66e2ce666d70d;p=clang 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 --- 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()); }