aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const-call.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-31 15:10:41 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:04:32 +0100
commit22bce7cbfa02a53f5505971211374cf336e07aa1 (patch)
treebafb0563863676195e20defac1a307505bb049dc /gcc/fold-const-call.h
parent872ea1ab969425c0db804d78d8c3fa2a8144accd (diff)
downloadgcc-22bce7cbfa02a53f5505971211374cf336e07aa1.zip
gcc-22bce7cbfa02a53f5505971211374cf336e07aa1.tar.gz
gcc-22bce7cbfa02a53f5505971211374cf336e07aa1.tar.bz2
gccrs: Parse unparsed derive tokenstreams
Derive attributes should be parsed before attempting to retrieve any traits. This will convert the tokenstream to a list of path if this hasn't been done previously. gcc/rust/ChangeLog: * ast/rust-ast.cc (Attribute::get_traits_to_derive): Convert tokenstream to path list. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/fold-const-call.h')
0 files changed, 0 insertions, 0 deletions