Skip to content

[Clang] Implement P2865R6 (Remove Deprecated Array Comparisons from C++26) #117859

@cor3ntin

Description

@cor3ntin

Paper link: https://isocpp.org/files/papers/P2865R6.pdf

We implement the depreciation warning, we need to turn it into an error https://godbolt.org/z/sqod3G69P.

TODO:

  • Adding an error diagnostics in C++26 mode (while keeping the existing depreciation warning in older language modes)
  • Adding tests
  • Modifying cxx_status.html
  • Adding changelog entry

Metadata

Metadata

Assignees

Labels

c++26clang:frontendLanguage frontend issues, e.g. anything involving "Sema"good first issuehttps://github.com/llvm/llvm-project/contributewg21 paperIssues representing the implementation of a WG21 paper

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions