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());
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits