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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D86473
[clangd] When inserting "using", add "::" in front if that's the style. ClosedPublic Authored by adamcz on Aug 24 2020, 10:19 AM.
Details Summary We guess the style based on the existing using declarations. If there
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 24 2020, 11:36 PM Closed by commit rG4d90ff59ac45: [clangd] When inserting "using", add "::" in front if that's the style. (authored by adamcz). · Explain WhyAug 25 2020, 5:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 287639 clang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp
clang-tools-extra/clangd/unittests/TweakTests.cpp
|