[clang-tools-extra] [clang-tidy] Avoid token merging in redundant-parentheses fix-its (PR #202365)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 11 05:51:28 PDT 2026


HighCommander4 wrote:

> Can you explain why we need a test in clangd?

I can explain this part: as described in [this comment](https://github.com/llvm/llvm-project/issues/185108#issuecomment-4021021907), clang-tidy's infrastructure does some post-processing of the checker results in `DiagnosticRenderer` which hides the deficiency in the checker; clangd does not do such post-processing.

The test looks good to me, but I'll leave it up to @vbvictor to say whether the fix approach in the checker implementation is the desired one.




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


More information about the cfe-commits mailing list