[clang] [Clang] __has_unique_object_representations should not accept Incomplete[] (PR #138291)

A. Jiang via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 03:04:30 PST 2025


frederick-vs-ja wrote:

I was a bit confused by this PR and #95432. The previous PR seemingly made the same prohibition (in a different way), so what was additionally fixed in this PR?

The newly test cases were [already rejected in Clang 19](https://godbolt.org/z/a6cTPhnbj).

https://github.com/llvm/llvm-project/pull/138291


More information about the cfe-commits mailing list