diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2025-03-12 14:38:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 14:38:54 -0400 |
commit | ab53e1c8e52388377ba50c05979b03a691513cfd (patch) | |
tree | ab957ec4c0cc926b59d1487fd3cda970ab057e11 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 7f415e444197025180d786c5e212f13b738179cb (diff) | |
download | llvm-ab53e1c8e52388377ba50c05979b03a691513cfd.zip llvm-ab53e1c8e52388377ba50c05979b03a691513cfd.tar.gz llvm-ab53e1c8e52388377ba50c05979b03a691513cfd.tar.bz2 |
[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.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions