[all-commits] [llvm/llvm-project] aa27d4: [clang] Implement consteval for captured structure...

Eli Friedman via All-commits all-commits at lists.llvm.org
Wed Jul 9 12:09:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa27d4e0c3aef8047828aa453f2943730aa779c6
      https://github.com/llvm/llvm-project/commit/aa27d4e0c3aef8047828aa453f2943730aa779c6
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/SemaCXX/cxx1z-constexpr-lambdas.cpp

  Log Message:
  -----------
  [clang] Implement consteval for captured structured bindings. (#147615)

127bf44385424891eb04cff8e52d3f157fc2cb7c implemented most of the
infrastructure for capturing structured bindings in lambdas, but missed
one piece: constant evaluation of such lambdas. Refactor the code to
handle this case.

Fixes #145956.



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