Author: Shafik Yaghmour Date: 2023-11-06T18:22:07-08:00 New Revision: 61934f800bb6d1a987e214bd7424f4dc1c58d4c3
URL: https://github.com/llvm/llvm-project/commit/61934f800bb6d1a987e214bd7424f4dc1c58d4c3 DIFF: https://github.com/llvm/llvm-project/commit/61934f800bb6d1a987e214bd7424f4dc1c58d4c3.diff LOG: Revert "[Clang] Remove unneeded template keyword (#71435)" This reverts commit 9c346780dc1deed1c5362fcfca874e281c53e6e0. Added: Modified: clang/include/clang/AST/Redeclarable.h Removed: ################################################################################ diff --git a/clang/include/clang/AST/Redeclarable.h b/clang/include/clang/AST/Redeclarable.h index be022bf5322ad61..091bb886f2d4962 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<KnownLatest>() || - Link.get<NotKnownLatest>().is<UninitializedLatest>(); + // FIXME: 'template' is required on the next line due to an + // apparent clang bug. + Link.get<NotKnownLatest>().template is<UninitializedLatest>(); } decl_type *getPrevious(const decl_type *D) const { _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits