[clang-tools-extra] [clangd] Allow "move function body out-of-line" in non-header files (PR #69704)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 21 01:49:48 PST 2023
================
@@ -435,14 +407,17 @@ class DefineOutline : public Tweak {
if (MD->getParent()->isTemplated())
return false;
- // The refactoring is meaningless for unnamed classes and definitions
- // within unnamed namespaces.
+ // The refactoring is meaningless for unnamed classes.
----------------
kadircet wrote:
`... and namespaces, unless we're outlining in the same file`
https://github.com/llvm/llvm-project/pull/69704
More information about the cfe-commits
mailing list