[all-commits] [llvm/llvm-project] 40ee5a: [C2y] Claim conformance to WG14 N3481
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Mar 7 06:37:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40ee5a0bcc333f2df5427bfaba73f2dc83c0ae19
https://github.com/llvm/llvm-project/commit/40ee5a0bcc333f2df5427bfaba73f2dc83c0ae19
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
A clang/test/C/C2y/n3481.c
M clang/www/c_status.html
Log Message:
-----------
[C2y] Claim conformance to WG14 N3481
This paper made it a constraint violation to have an incomplete type
during lvalue conversion. Previously, this was undefined behavior.
Clang has always diagnosed this for non-void incomplete types. However,
Clang does allow derefencing a void pointer (with a diagnostic, so we
still meet the conformance requirements), but not for a value
computation.
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