[PATCH] D148423: [clangd] Support define outline tweak for non cross file edits
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 15 03:03:04 PDT 2023
njames93 created this revision.
njames93 added reviewers: kadircet, sammccall, nridge.
Herald added a subscriber: arphaman.
Herald added a project: All.
njames93 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
Currently this is limited to just defining method decls out of class in source files.
// Test.cpp
struct A {
void Foo() {}
};
// Converted to
struct A {
void Foo();
};
A::Foo() {}
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148423
Files:
clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148423.513876.patch
Type: text/x-patch
Size: 5505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230415/22029f24/attachment.bin>
More information about the cfe-commits
mailing list