llvm-project/clang-tools-extra/clangd/refactor
Nathan James b2666ccca0 [clangd] DefineOutline won't copy virtual specifiers on methods
Summary:
The define out of line refactor tool previously would copy the `virtual`, `override` and `final` specifier into the out of line method definition.
This results in malformed code as those specifiers aren't allowed outside the class definition.

Reviewers: hokein, kadircet

Reviewed By: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D75429
2020-03-03 09:59:14 +00:00
..
tweaks [clangd] DefineOutline won't copy virtual specifiers on methods 2020-03-03 09:59:14 +00:00
Rename.cpp [clangd] No need to query ctor refs in cross-file rename. 2020-03-02 15:21:32 +01:00
Rename.h [clangd] Expose the rename LimitFiles option to the C++ API, NFC. 2020-02-26 09:33:58 +01:00
Tweak.cpp [clangd] Reapply b60896fad9 Fall back to selecting token-before-cursor if token-after-cursor fails. 2020-02-23 20:17:30 +01:00
Tweak.h [clangd] Reapply b60896fad9 Fall back to selecting token-before-cursor if token-after-cursor fails. 2020-02-23 20:17:30 +01:00