aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const-call.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-28 17:55:55 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:04:32 +0100
commitde8bc8f9bc03230f124802c4dd0a42f79796a770 (patch)
treed999cb83bced9055bad0346d72dcd2f1b146981b /gcc/fold-const-call.h
parentad1f51084946125ceb33a0086d42fac0f42460be (diff)
downloadgcc-de8bc8f9bc03230f124802c4dd0a42f79796a770.zip
gcc-de8bc8f9bc03230f124802c4dd0a42f79796a770.tar.gz
gcc-de8bc8f9bc03230f124802c4dd0a42f79796a770.tar.bz2
gccrs: Set traits getter as member function
This function will be used outside of the expand visitor, making it easily accessible is therefore mandatory. gcc/rust/ChangeLog: * ast/rust-ast.cc (Attribute::get_traits_to_derive): Add function as member function. * ast/rust-ast.h: Add prototype. * expand/rust-expand-visitor.cc (get_traits_to_derive): Remove function. (ExpandVisitor::expand_inner_stmts): Update function call. 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