summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-07-24 12:44:02 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-07-24 12:44:02 +0000
commit9177c0e47c0cd6c4c3c8084fe0778c5bf25491fe (patch)
treef7f76defda81c0bcb9af463a2af017fa7775ae30
parent41143bb5738743881198e5f4a7148580eb13468d (diff)
downloadbcm5719-llvm-9177c0e47c0cd6c4c3c8084fe0778c5bf25491fe.tar.gz
bcm5719-llvm-9177c0e47c0cd6c4c3c8084fe0778c5bf25491fe.zip
Visual Studio is more permissive than other compilers; amends r243107 to fix a compile error.
llvm-svn: 243108
-rw-r--r--clang/include/clang/ASTMatchers/ASTMatchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h
index 0cd90d929ee..a4aa8c8688d 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchers.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -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.
OpenPOWER on IntegriCloud