[all-commits] [llvm/llvm-project] c80097: [Clang] Implement CWG2496 (#142975)

Corentin Jabot via All-commits all-commits at lists.llvm.org
Mon Jun 9 12:17:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8009797d388a89346e2116de08e9c0be17e0c2d
      https://github.com/llvm/llvm-project/commit/c8009797d388a89346e2116de08e9c0be17e0c2d
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/CXX/drs/cwg24xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [Clang] Implement CWG2496 (#142975)

https://cplusplus.github.io/CWG/issues/2496.html

We failed to diagnose the following in C++23 mode

```
struct S {
    virtual void f(); // expected-note {{previous declaration is here}}
};

struct T : S {
    virtual void f() &;
};
```



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