[llvm-branch-commits] [clang] 9c49b0b - Remove the ast_type_traits namespace.
Alexander Kornienko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 14 17:20:18 PST 2020
Author: Alexander Kornienko
Date: 2020-12-15T02:16:12+01:00
New Revision: 9c49b0bba0fcbe8b10c0f44ce60a8d26e6f30479
URL: https://github.com/llvm/llvm-project/commit/9c49b0bba0fcbe8b10c0f44ce60a8d26e6f30479
DIFF: https://github.com/llvm/llvm-project/commit/9c49b0bba0fcbe8b10c0f44ce60a8d26e6f30479.diff
LOG: Remove the ast_type_traits namespace.
This is the final cleanup after https://reviews.llvm.org/D74499
Reviewed By: steveire
Differential Revision: https://reviews.llvm.org/D93244
Added:
Modified:
clang/include/clang/AST/ASTTypeTraits.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/ASTTypeTraits.h b/clang/include/clang/AST/ASTTypeTraits.h
index 8791e41b9ac3..2141f85911be 100644
--- a/clang/include/clang/AST/ASTTypeTraits.h
+++ b/clang/include/clang/AST/ASTTypeTraits.h
@@ -529,18 +529,6 @@ template <typename T, typename EnablerT> struct DynTypedNode::BaseConverter {
}
};
-// Previously these types were defined in the clang::ast_type_traits namespace.
-// Provide typedefs so that legacy code can be fixed asynchronously.
-namespace ast_type_traits {
-using DynTypedNode = ::clang::DynTypedNode;
-using ASTNodeKind = ::clang::ASTNodeKind;
-using TraversalKind = ::clang::TraversalKind;
-
-constexpr TraversalKind TK_AsIs = ::clang::TK_AsIs;
-constexpr TraversalKind TK_IgnoreUnlessSpelledInSource =
- ::clang::TK_IgnoreUnlessSpelledInSource;
-} // namespace ast_type_traits
-
} // end namespace clang
namespace llvm {
More information about the llvm-branch-commits
mailing list