diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-20 11:19:46 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-11-21 11:16:34 +0000 |
commit | 33965b86fe26e1f352a6dc2a18d88b25a0b36ada (patch) | |
tree | f08a70d1d78bf83bf0104cbc64e7bc610e19dfc0 /gcc/gdbhooks.py | |
parent | b1b0de60cd99742eb71dd909969e128ea0cd94ef (diff) | |
download | gcc-33965b86fe26e1f352a6dc2a18d88b25a0b36ada.zip gcc-33965b86fe26e1f352a6dc2a18d88b25a0b36ada.tar.gz gcc-33965b86fe26e1f352a6dc2a18d88b25a0b36ada.tar.bz2 |
Emit an error on variadic non extern functions
Variadic regular functions were recently added in the parser as they
should be rejected in the ast validation pass. This commit add the ast
validation pass rejecting this kind of variadic arguments.
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValidation::visit): Add
ast validation pass to reject variadic arguments on regular functions.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions