Author: Shafik Yaghmour
Date: 2023-11-06T18:22:42-08:00
New Revision: ef618b598e6d767208c0b93cc1e47fbec59857dd

URL: 
https://github.com/llvm/llvm-project/commit/ef618b598e6d767208c0b93cc1e47fbec59857dd
DIFF: 
https://github.com/llvm/llvm-project/commit/ef618b598e6d767208c0b93cc1e47fbec59857dd.diff

LOG: Revert "[Clang] Remove unneeded template keyword" (#71478)

Reverts llvm/llvm-project#71435

This is failing on some build bots e.g.:
https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/62315/consoleFull#-3939952849ba4694-19c4-4d7e-bec5-911270d8a58c

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 {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to