[clang] [Clang] Emit error for duplicate mangled names within a lambda (PR #107581)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 09:29:57 PDT 2024


efriedma-quic wrote:

Sure, it makes sense to print a diagnostic for lambdas.

-----

I'm having a bit of trouble understanding the way the new code is structured.  What makes the definition of lambda call operators special here?  Do we not call GetOrCreateLLVMFunction with IsForDefinition set?

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


More information about the cfe-commits mailing list