[clang-tools-extra] [clangd] Extract to Function: mark unmodified captured parameters const (PR #225666)

Christian Kandeler via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 04:05:22 PDT 2026


ckandeler wrote:

> I haven't looked at this closely yet, but we already faced with the problem that misc-const-correctness check of clang-tidy which you mentioned, is [very slow ](https://github.com/clangd/clangd/issues/1337)
> 
> So, before landing this we need to be sure, that with this patch there will be no performance degradation. Please, note that prepare() call for a tweak must be very fast.

The prepare() call is unaffected.

> And maybe we can also check if there is a size change of the binary.

I think it's just the one translation unit for the new class used.



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


More information about the cfe-commits mailing list