[all-commits] [llvm/llvm-project] eb7669: [Clang] Destructors should not be immediate-escala...

Corentin Jabot via All-commits all-commits at lists.llvm.org
Tue Oct 14 07:40:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb76690ea17d7c03b5893a68e306760a79743dac
      https://github.com/llvm/llvm-project/commit/eb76690ea17d7c03b5893a68e306760a79743dac
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/Decl.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp

  Log Message:
  -----------
  [Clang] Destructors should not be immediate-escalating (#163390)

We allow destructors to become immediate functions, which makes little
sense as the standard disallow
consteval destructors

Related CWG issue https://github.com/cplusplus/CWG/issues/780

Fixes #109096



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