diff --git a/clang/include/clang/AST/Redeclarable.h b/clang/include/clang/AST/Redeclarable.h index be022bf5322ad..091bb886f2d49 100644 --- a/clang/include/clang/AST/Redeclarable.h +++ b/clang/include/clang/AST/Redeclarable.h @@ -114,7 +114,9 @@ class Redeclarable { bool isFirst() const { return Link.is() || - Link.get().is(); + // FIXME: 'template' is required on the next line due to an + // apparent clang bug. + Link.get().template is(); } decl_type *getPrevious(const decl_type *D) const {