[all-commits] [llvm/llvm-project] c0be35: [CIR] Fix lambda explicit object parameters (#225518)

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Sep 22 17:15:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0be35f9fcacfc32d537718fe345ee8aa26a87bb
      https://github.com/llvm/llvm-project/commit/c0be35f9fcacfc32d537718fe345ee8aa26a87bb
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
    A clang/test/CIR/CodeGen/lambda-explicit-obj.cpp

  Log Message:
  -----------
  [CIR] Fix lambda explicit object parameters (#225518)

We seem to have diverged significantly from classic compiler here,
likely because the incubator missed these changes. The result was the
exmaple given in the test would crash because the 'this' argument wasn't
set right.

This patch copy/pastes/lightly modifies classic codegen to get these
lambdas done correctly.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list