aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-11 20:47:38 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-11 20:47:38 +0000
commitd9a8bbcf8db776de126aa6dc15d66e2ce666d70d (patch)
tree05f7e0f3f70f703995b9a24fe006034a13607b87
parent880cf25c683cf7b21e56a9f4a692db4c5ebae323 (diff)
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
-rw-r--r--include/clang/AST/EvaluatedExprVisitor.h2
1 files changed, 1 insertions, 1 deletions
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<RecordType>())
+ = E->getExprOperand()->getType()->template getAs<RecordType>())
if (cast<CXXRecordDecl>(Record->getDecl())->isPolymorphic())
return this->Visit(E->getExprOperand());
}