[clang] [Clang] Diagnose function parameters used in lambda bodies in default arguments (PR #235057)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 24 03:14:12 PDT 2026


zwuis wrote:

> Everything works as expected.

So, do you agree that this is a workaround?

> ... If you have a more fundamental solution in mind, please let me know so we can discuss and implement it.

We’ll do it only if you know the relevant codebase well enough. Chatting with AI on GitHub is a waste of time.

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


More information about the cfe-commits mailing list