Author: aaronballman Date: Fri Jul 24 07:44:02 2015 New Revision: 243108 URL: http://llvm.org/viewvc/llvm-project?rev=243108&view=rev Log: Visual Studio is more permissive than other compilers; amends r243107 to fix a compile error.
Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h?rev=243108&r1=243107&r2=243108&view=diff ============================================================================== --- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h (original) +++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Fri Jul 24 07:44:02 2015 @@ -3165,7 +3165,7 @@ AST_MATCHER(CXXMethodDecl, isVirtual) { AST_POLYMORPHIC_MATCHER(isFinal, AST_POLYMORPHIC_SUPPORTED_TYPES(CXXRecordDecl, CXXMethodDecl)) { - return Node.hasAttr<FinalAttr>(); + return Node.template hasAttr<FinalAttr>(); } /// \brief Matches if the given method declaration is pure. _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits