[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
Wed Apr 24 16:21:31 PDT 2024


Sirraide wrote:

Ok, I’ve added a check for CWG 2881 to sema, but there’s at least 2 things I still want to take a look at:
- [ ] Consider emitting the upcast once in the function prologue instead of every time a variable is accessed.
- [ ] Check for invalid explicit object parameters when the lambda is instantiated rather than when it is called.

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


More information about the cfe-commits mailing list