[all-commits] [llvm/llvm-project] e45142: [Clang] Correctly determine constexprness of depen...

cor3ntin via All-commits all-commits at lists.llvm.org
Sun Jan 26 07:17:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4514293f99962b47d881d5b40722c6b56a1f425
      https://github.com/llvm/llvm-project/commit/e4514293f99962b47d881d5b40722c6b56a1f425
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-01-26 (Sun, 26 Jan 2025)

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

  Log Message:
  -----------
  [Clang] Correctly determine constexprness of dependent lambdas. (#124468)

We skipped checking if a lambda is constexpr if the parent context was
dependent, even if the lambda itself wasn't (and there is no other
opportunity to establish constexprness)


Fixes #114234
Fixes #97958



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