about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-05-26 15:28:26 -0700
committerGitHub <noreply@github.com>2024-05-26 15:28:26 -0700
commit866630d0041f35269836e59481acaacba28a8f41 (patch)
treed3c9c2b256f5e8b31d7d5dd202e44d836b9aced2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentbdbbb6c6a718d4d196131aa16bafb60e850311d9 (diff)
parentf005b451c2eeb018e3c2c6e6653636981cfa7f1a (diff)
downloadrust-866630d0041f35269836e59481acaacba28a8f41.tar.gz
rust-866630d0041f35269836e59481acaacba28a8f41.zip
Rollup merge of #124048 - veera-sivarajan:bugfix-123773-c23-variadics, r=compiler-errors
Support C23's Variadics Without a Named Parameter

Fixes #123773

This PR removes the static check that disallowed extern functions
with ellipsis (varargs) as the only parameter since this is now
valid in C23.

This will not break any existing code as mentioned in the proposal
document: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2975.pdf.

Also, adds a doc comment for `check_decl_cvariadic_pos()` and
fixes the name of the function (`varadic` -> `variadic`).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions