[clangd] Fix action `RemoveUsingNamespace` for inline namespace
authorv1nh1shungry <v1nh1shungry@outlook.com>
Wed, 28 Dec 2022 12:34:41 +0000 (13:34 +0100)
committerTom Praschan <13141438+tom-anders@users.noreply.github.com>
Wed, 28 Dec 2022 12:34:43 +0000 (13:34 +0100)
commit46575f60380b18bf20c5f4cafc5fd06f561c4e7b
tree97ea178395678bd2bbd9184c27ec1046b0665a83
parent25671db3d3432618425b67c701e7d8b65bec68f9
[clangd] Fix action `RemoveUsingNamespace` for inline namespace

Existing version ignores symbols declared in an inline namespace `ns`
when removing `using namespace ns`

Reviewed By: tom-anders

Differential Revision: https://reviews.llvm.org/D138028
clang-tools-extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
clang-tools-extra/clangd/unittests/tweaks/RemoveUsingNamespaceTests.cpp