[clang-tools-extra] [clangd] Extract to function: Suppress pure forwarding wrappers (PR #232654)

Christian Kandeler via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 02:06:21 PDT 2026


ckandeler wrote:


> Difference after extraction is that arguments are swapped. was foo(**B, A**), became extracted(**A, B**). So, `extracted` is not a trivial, but contains logic to swap arguments.
> 
> If we are talking about bar, there can be a lot of code before foo call.

Done.

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


More information about the cfe-commits mailing list