This is an archive of the discontinued LLVM Phabricator instance.

[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
are any and they all start with ::, we add it to the newly added one
too.

Diff Detail

Event Timeline

adamcz created this revision.Aug 24 2020, 10:19 AM
adamcz requested review of this revision.Aug 24 2020, 10:19 AM
hokein accepted this revision.Aug 24 2020, 11:36 PM
This revision is now accepted and ready to land.Aug 24 2020, 11:36 PM