[all-commits] [llvm/llvm-project] ddda05: [clang][NFC] Break out BaseUsingDecl from UsingDecl
Nathan Sidwell via All-commits
all-commits at lists.llvm.org
Mon Jun 7 06:30:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddda05add527f7f92a71f387b927f237334f46d9
https://github.com/llvm/llvm-project/commit/ddda05add527f7f92a71f387b927f237334f46d9
Author: Nathan Sidwell <nathan at acm.org>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M clang-tools-extra/clangd/FindTarget.cpp
M clang/include/clang/AST/DeclCXX.h
M clang/include/clang/Basic/DeclNodes.td
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/Sema/SemaAccess.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[clang][NFC] Break out BaseUsingDecl from UsingDecl
This is a pre-patch for adding using-enum support. It breaks out
the shadow decl handling of UsingDecl to a new intermediate base
class, BaseUsingDecl, altering the decl hierarchy to
def BaseUsing : DeclNode<Named, "", 1>;
def Using : DeclNode<BaseUsing>;
def UsingPack : DeclNode<Named>;
def UsingShadow : DeclNode<Named>;
def ConstructorUsingShadow : DeclNode<UsingShadow>;
Differential Revision: https://reviews.llvm.org/D101777
More information about the All-commits
mailing list