[clang-tools-extra] [clangd] Fix OverridePureVirtuals to preserve attributes and formatting (PR #184023)

Max Winkler via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 02:22:32 PST 2026


max-winkler wrote:

@marcogmaia are you still planning to work on this PR? I'm currently working at the same tweak and want to avoid duplicate work.

By the way: The `[[nodiscard("")]]` output mentioned earlier is not specific to this tweak. It reproduces with plain `clang -Xclang -ast-print -fsyntax-only test.cpp`. I plan to look into fixing it in the attribute printing (`Attr::printPretty`). This should be a separate issue/PR.

https://github.com/llvm/llvm-project/pull/184023


More information about the cfe-commits mailing list