Skip to content
Snippets Groups Projects
Commit d9a8bbcf authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 880cf25c
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
// a glvalue of polymorphic type. (C++ 5.2.8p2-3) // a glvalue of polymorphic type. (C++ 5.2.8p2-3)
if (!E->isTypeOperand() && E->Classify(Context).isGLValue()) if (!E->isTypeOperand() && E->Classify(Context).isGLValue())
if (const RecordType *Record if (const RecordType *Record
= E->getExprOperand()->getType()->getAs<RecordType>()) = E->getExprOperand()->getType()->template getAs<RecordType>())
if (cast<CXXRecordDecl>(Record->getDecl())->isPolymorphic()) if (cast<CXXRecordDecl>(Record->getDecl())->isPolymorphic())
return this->Visit(E->getExprOperand()); return this->Visit(E->getExprOperand());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment