[all-commits] [llvm/llvm-project] 84a9ed: [clangd] Preserve qualified names in "override pur...
Marco Maia via All-commits
all-commits at lists.llvm.org
Mon Nov 3 10:15:54 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 84a9ed25e816a51df765770e8867bccbde8da8e9
https://github.com/llvm/llvm-project/commit/84a9ed25e816a51df765770e8867bccbde8da8e9
Author: Marco Maia <marcogmaia at gmail.com>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M clang-tools-extra/clangd/refactor/tweaks/OverridePureVirtuals.cpp
M clang-tools-extra/clangd/unittests/tweaks/OverridePureVirtualsTests.cpp
Log Message:
-----------
[clangd] Preserve qualified names in "override pure virtual methods" tweak (#163726)
Prevents the tweak from splitting **qualified names** (e.g.,
`foo::Type`) by incorrectly inserting a space around the scope
resolution (`::`).
**Before:**
```cpp
// input:
virtual foo::Type::func() = 0
// output:
foo :: Type :: func()
```
**After:**
```cpp
// input:
virtual foo::Type::func() = 0
// output:
foo::Type::func()
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list