From 9c49b0bba0fcbe8b10c0f44ce60a8d26e6f30479 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 14 Dec 2020 23:06:36 +0100 Subject: [PATCH] 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 --- clang/include/clang/AST/ASTTypeTraits.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/clang/include/clang/AST/ASTTypeTraits.h b/clang/include/clang/AST/ASTTypeTraits.h index 8791e41..2141f85 100644 --- a/clang/include/clang/AST/ASTTypeTraits.h +++ b/clang/include/clang/AST/ASTTypeTraits.h @@ -529,18 +529,6 @@ template 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 { -- 2.7.4