[cfe-commits] r113703 - /cfe/trunk/include/clang/AST/EvaluatedExprVisitor.h
Douglas Gregor
dgregor at apple.com
Sat Sep 11 13:47:38 PDT 2010
Author: dgregor
Date: Sat Sep 11 15:47:38 2010
New Revision: 113703
URL: http://llvm.org/viewvc/llvm-project?rev=113703&view=rev
Log:
Add a completely unnecessary "template" keyword to appease GCC
Modified:
cfe/trunk/include/clang/AST/EvaluatedExprVisitor.h
Modified: cfe/trunk/include/clang/AST/EvaluatedExprVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/EvaluatedExprVisitor.h?rev=113703&r1=113702&r2=113703&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/EvaluatedExprVisitor.h (original)
+++ cfe/trunk/include/clang/AST/EvaluatedExprVisitor.h Sat Sep 11 15:47:38 2010
@@ -63,7 +63,7 @@
// 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());
}
More information about the cfe-commits
mailing list