[clang] [Clang] [CodeGen] Perform derived-to-base conversion on explicit object parameter in lambda (PR #89828)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 20 08:55:14 PDT 2024


Sirraide wrote:

> You should run make_cxx_drs, otherwise I think this looks in good shape.

Will do.
> I think we should diag earlier (because if the lambda is not use we should still signal it's broken) but doing that as a follow up PR seems reasonable.
> 
> Less redundant diags is better but if we can't avoid it, i think it's a reasonable compromise

Alright; I’ll leave it as-is for this pr then.


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


More information about the cfe-commits mailing list