================ @@ -648,6 +649,27 @@ tweakSelection(const Range &Sel, const InputsAndAST &AST, return std::move(Result); } +// Some fixes may perform local renaming, we want to convert those to clangd +// rename commands, such that we can leverage the index for more accurate +// results. +std::optional<ClangdServer::CodeActionResult::Rename> +TryConvertToRename(const Diag *Diag, const ClangdServer::DiagRef &DR, ---------------- HighCommander4 wrote:
Amusingly, I get a `readability-identifier-naming` diagnostic for this (it wants `lowerCamelCase`; my bad for the original suggestion having the wrong case) https://github.com/llvm/llvm-project/pull/78454 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits