forked from OSchip/llvm-project
Visual Studio is more permissive than other compilers; amends r243107 to fix a compile error.
llvm-svn: 243108
This commit is contained in:
parent
41143bb573
commit
9177c0e47c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue