[clang] [clang-tools-extra] [clangd][clang-tidy] Factor out mergeFixits() logic and reuse it in clangd (PR #208682)

Peiqi Li via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 18 08:57:32 PDT 2026


================
@@ -2227,6 +2204,36 @@ TEST(DiagnosticsTest, DontSuppressSubcategories) {
               ElementsAre(diagName("-Wunreachable-code-break")));
 }
 
+TEST(DiagnosticsTest, TokenMergeFixit) {
----------------
voyager-jhk wrote:

I've update it----it now injects a synthetic diagnostic with naive removal fix-its into StoreDiags. PTAL!

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


More information about the cfe-commits mailing list