[AST] De-duplicate empty node introspection
authorStephen Kelly <steveire@gmail.com>
Wed, 17 Mar 2021 01:48:50 +0000 (01:48 +0000)
committerStephen Kelly <steveire@gmail.com>
Thu, 22 Apr 2021 11:30:04 +0000 (12:30 +0100)
commitaee6c86c4dc78da6ca75e0e6e6cfd50f95f2d956
treea38d0b1bb9b6f9e3fdd3670e2419e9244b916216
parentedc869cb57fb4cf999c8a388b48ae4ecd027bfe7
[AST] De-duplicate empty node introspection

This way we can add support for other nodes without duplication.

Differential Revision: https://reviews.llvm.org/D98774
clang/lib/Tooling/CMakeLists.txt
clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
clang/lib/Tooling/EmptyNodeIntrospection.inc.in [new file with mode: 0644]