aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-scalar-evolution.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-20 12:00:11 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:31 +0100
commit6fef5bc497572798b817ad7afdcf5e5fb00c7910 (patch)
tree4a452e7f1fb4d191b360c9c3582b62747572e7b3 /gcc/tree-scalar-evolution.h
parentf092edae96511e92b9d458184b23848f95138ab2 (diff)
downloadgcc-6fef5bc497572798b817ad7afdcf5e5fb00c7910.zip
gcc-6fef5bc497572798b817ad7afdcf5e5fb00c7910.tar.gz
gcc-6fef5bc497572798b817ad7afdcf5e5fb00c7910.tar.bz2
gccrs: Allow multiple outer attributes on generic params
Previously generic params only allowed one outer attribute in front of them. gcc/rust/ChangeLog: * ast/rust-ast-collector.cc (TokenCollector::visit): Visit outer attributes. * ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Change outer attribute visit, we need to visit all of them. * ast/rust-ast.cc (LifetimeParam::as_string): Change as_string implementation to allow multiple outer attributes. (TypeParam::as_string): Likewise. * ast/rust-ast.h (class LifetimeParam): Allow multiple outer attributes. * ast/rust-item.h (class TypeParam): Likewise. * ast/rust-path.h: Likewise. * parse/rust-parse-impl.h (Parser::parse_generic_param): Change call to outer attribute parsing to collect several attributes. (Parser::parse_lifetime_param): Likewise. (Parser::parse_type_param): Likewise. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/tree-scalar-evolution.h')
0 files changed, 0 insertions, 0 deletions