Revert "[AST] Add a new TemplateKind for template decls found via a using decl."
authorHaojian Wu <hokein.wu@gmail.com>
Tue, 12 Apr 2022 09:51:00 +0000 (11:51 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Tue, 12 Apr 2022 09:51:00 +0000 (11:51 +0200)
commit95f0f69f1ff8eff34a00a47a236c2f91a2392c70
treea49dd62125dea047f883cd953fc851afca09616f
parentfb16ed258c041b1bf3821086af309024761ebc27
Revert "[AST] Add a new TemplateKind for template decls found via a using decl."

It breaks arm build, there is no free bit for the extra
UsingShadowDecl in TemplateName::StorageType.

Reverting it to build the buildbot back until we comeup with a fix.

This reverts commit 5a5be4044f0bceb71bb6a81f6955704691b389ed.
22 files changed:
clang-tools-extra/clangd/DumpAST.cpp
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang/include/clang/AST/PropertiesBase.td
clang/include/clang/AST/TemplateName.h
clang/include/clang/AST/TextNodeDumper.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/ASTStructuralEquivalence.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/lib/AST/ODRHash.cpp
clang/lib/AST/TemplateName.cpp
clang/lib/AST/TextNodeDumper.cpp
clang/lib/AST/Type.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/test/AST/ast-dump-using-template.cpp [deleted file]
clang/test/CXX/temp/temp.deduct.guide/p3.cpp
clang/tools/libclang/CIndex.cpp
clang/unittests/AST/ASTImporterTest.cpp
clang/unittests/AST/CMakeLists.txt
clang/unittests/AST/TemplateNameTest.cpp [deleted file]