Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LWG4113: Disallow has_unique_object_representations<Incomplete[]> #118350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ldionne opened this issue Dec 2, 2024 · 5 comments · Fixed by #138291
Open

LWG4113: Disallow has_unique_object_representations<Incomplete[]> #118350

ldionne opened this issue Dec 2, 2024 · 5 comments · Fixed by #138291
Labels
c++26 clang:frontend Language frontend issues, e.g. anything involving "Sema" libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. lwg-issue this is an issue that was filed to the Library Working Group

Comments

@ldionne
Copy link
Member

ldionne commented Dec 2, 2024

Link: https://wg21.link/LWG4113

@ldionne ldionne added c++26 libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. lwg-issue this is an issue that was filed to the Library Working Group labels Dec 2, 2024
@frederick-vs-ja
Copy link
Contributor

It seems better to let compiler frontends to handle this.

@frederick-vs-ja frederick-vs-ja added the clang:frontend Language frontend issues, e.g. anything involving "Sema" label Dec 31, 2024
@llvmbot
Copy link
Member

llvmbot commented Dec 31, 2024

@llvm/issue-subscribers-clang-frontend

Author: Louis Dionne (ldionne)

**Link:** https://wg21.link/LWG4113

@philnik777
Copy link
Contributor

It seems better to let compiler frontends to handle this.

True, but we should add tests for it still. We're actually lacking any kind of test coverage to ensure we're rejecting incorrect type traits uses properly.

cor3ntin added a commit to cor3ntin/llvm-project that referenced this issue May 2, 2025
…ete[]

This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)

This is technically a breaking change, but it's a fix and I think
anyone who relies on this to day is in a world of hurt.

Fixes llvm#118350
cor3ntin added a commit that referenced this issue May 2, 2025
…ete[] (#138291)

This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)

This is technically a breaking change, but it's a fix, and I think
anyone who relies on this today is in a world of hurt.

Fixes #118350
@cor3ntin
Copy link
Contributor

cor3ntin commented May 2, 2025

@philnik777 I modified the builtin, I don't know if you want to add more tests on the libc++ side

@philnik777
Copy link
Contributor

@cor3ntin yeah, I think we should keep this open until we've added tests on the libc++ side.

@philnik777 philnik777 reopened this May 2, 2025
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this issue May 6, 2025
…ete[] (llvm#138291)

This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)

This is technically a breaking change, but it's a fix, and I think
anyone who relies on this today is in a world of hurt.

Fixes llvm#118350
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this issue May 6, 2025
…ete[] (llvm#138291)

This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)

This is technically a breaking change, but it's a fix, and I think
anyone who relies on this today is in a world of hurt.

Fixes llvm#118350
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this issue May 6, 2025
…ete[] (llvm#138291)

This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)

This is technically a breaking change, but it's a fix, and I think
anyone who relies on this today is in a world of hurt.

Fixes llvm#118350
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this issue May 7, 2025
…ete[] (llvm#138291)

This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)

This is technically a breaking change, but it's a fix, and I think
anyone who relies on this today is in a world of hurt.

Fixes llvm#118350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++26 clang:frontend Language frontend issues, e.g. anything involving "Sema" libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. lwg-issue this is an issue that was filed to the Library Working Group
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants