Visual Studio is more permissive than other compilers; amends r243107 to fix a compile error.

llvm-svn: 243108
This commit is contained in:
Aaron Ballman 2015-07-24 12:44:02 +00:00
parent 41143bb573
commit 9177c0e47c
1 changed files with 1 additions and 1 deletions

View File

@ -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.