[all-commits] [llvm/llvm-project] 89133a: [clang][NFC] Mark CWG2807 as implemented and add a...

Victor Chernyakin via All-commits all-commits at lists.llvm.org
Wed Apr 29 03:01:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89133afd5e5102ad2504cf890a65224e49c77b5a
      https://github.com/llvm/llvm-project/commit/89133afd5e5102ad2504cf890a65224e49c77b5a
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M clang/test/CXX/drs/cwg28xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Mark CWG2807 as implemented and add a test (#194755)

CWG2807 (https://wg21.link/cwg2807): One part of the standard correctly
said destructors can't be `consteval`, but another incorrectly said they
can be.

Clang diagnosed this in 9.0, for some reason started accepting it in
10.0, then went back to diagnosing in 11.0:
https://godbolt.org/z/6sWTYT38M. I've marked it as implemented since
11.0.

The issue that prompted the DR: #65665



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