[PATCH] D93244: Remove the ast_type_traits namespace.

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 14:09:22 PST 2020


alexfh created this revision.
alexfh added reviewers: aaron.ballman, rnk.
alexfh requested review of this revision.
Herald added a project: clang.

This is the final cleanup after https://reviews.llvm.org/D74499


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93244

Files:
  clang/include/clang/AST/ASTTypeTraits.h


Index: clang/include/clang/AST/ASTTypeTraits.h
===================================================================
--- clang/include/clang/AST/ASTTypeTraits.h
+++ clang/include/clang/AST/ASTTypeTraits.h
@@ -528,18 +528,6 @@
   }
 };
 
-// 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 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93244.311702.patch
Type: text/x-patch
Size: 789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201214/37684c93/attachment.bin>


More information about the cfe-commits mailing list