diff options
| author | Reid Kleckner <rnk@google.com> | 2020-02-12 11:34:13 -0800 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2020-02-13 10:46:47 -0800 |
| commit | cd62511496938e33c061c90796dd23a5288ff843 (patch) | |
| tree | 1de3a6ac02af0e3609a4b48a71ad9482b71f0e8d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2fb6268854f178609e974002e4781dbdb1074b90 (diff) | |
Remove clang::ast_type_traits namespace in favor of clang
DynTypedNode and ASTNodeKind are implemented as part of the clang AST
library, which uses the main clang namespace. There doesn't seem to be a
need for this extra level of namespacing.
I left behind aliases in the ast_type_traits namespace for out of tree
clients of these APIs. To provide aliases for the enumerators, I used
this pattern:
namespace ast_type_traits {
constexpr TraversalKind TK_AsIs = ::clang::TK_AsIs;
}
I think the typedefs will be useful for migration, but we might be able
to drop these enumerator aliases.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D74499
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
