5 Commits

Author SHA1 Message Date
v1nh1shungry
46575f6038 [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
2022-12-28 13:34:43 +01:00
v1nh1shungry
82ca918b57 [clangd] Fix the code action RemoveUsingNamespace
Avoid adding qualifiers before user-defined literals

Reviewed By: tom-anders

Differential Revision: https://reviews.llvm.org/D137550
2022-11-09 21:04:21 +01:00
v1nh1shungry
f5a2ef80fa [clangd] Fix the code action RemoveUsingNamespace
Avoid adding qualifiers before C++ operators declared in a non-class context

Reviewed By: tom-anders

Differential Revision: https://reviews.llvm.org/D137494
2022-11-06 18:31:20 +01:00
Sam McCall
4d006520b8 [clangd] Clean up unused includes. NFCI
Add includes where needed to fix build.
Haven't systematically added used headers, so there is still accidental
dependency on transitive includes.
2022-02-26 12:00:16 +01:00
Adam Czachorowski
5934a79196 [clangd] Split tweak tests into one file per tweak.
No changes to the tests themselves, other than some auto -> const auto
diagnostic fixes and formatting.

Differential Revision: https://reviews.llvm.org/D92939
2020-12-09 17:17:06 +01:00