aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-11-22 13:08:13 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-30 12:36:47 +0100
commit9279483f6e87258e36345c355720860925a75e3e (patch)
treedb8195fae3ff99fa5e755f37116d576d327b7c52 /gcc/c
parentac501a75b263a7dd7fa437c01aae53d41e30a515 (diff)
downloadgcc-9279483f6e87258e36345c355720860925a75e3e.zip
gcc-9279483f6e87258e36345c355720860925a75e3e.tar.gz
gcc-9279483f6e87258e36345c355720860925a75e3e.tar.bz2
gccrs: Add AST validation check for const in trait
Add a new check in AST validation pass that checks that no function declaration in traits are declared const. gcc/rust/ChangeLog: * checks/errors/rust-ast-validation.cc (ASTValidation::visit): Add const check. * checks/errors/rust-ast-validation.h: Add visit function prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions