SuccessChanges

Summary

  1. [clangd] When inserting "using", add "::" in front if that's the style. (details)
Commit 4d90ff59ac453a67ac692ffdf8242e4cfbd2b34f by adamcz
[clangd] When inserting "using", add "::" in front if that's the style.

We guess the style based on the existing using declarations. If there
are any and they all start with ::, we add it to the newly added one
too.

Differential Revision: https://reviews.llvm.org/D86473
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp (diff)