[all-commits] [llvm/llvm-project] ab53e1: [C2y] Claim conformance to WG14 N3363 (#130980)
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Mar 12 11:39:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab53e1c8e52388377ba50c05979b03a691513cfd
https://github.com/llvm/llvm-project/commit/ab53e1c8e52388377ba50c05979b03a691513cfd
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths:
A clang/test/C/C2y/n3363.c
M clang/www/c_status.html
Log Message:
-----------
[C2y] Claim conformance to WG14 N3363 (#130980)
This paper clarifies two things:
* a call to va_start must be within the body of a variadic function,
* the va_list arguments must be lvalues
Clang has correctly diagnosed the first point since Clang 5.0. Clang
generally diagnoses the second point, except for va_copy. However, the
second point is not a constraint violation, so a diagnostic is not
strictly required. That said, it would be good for us to properly
diagnose va_copy.
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