aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-28 17:26:50 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-09-05 14:05:36 +0000
commit6eaf1b2878262c0c129752cc2d25c6b576577dad (patch)
tree343638755d90bf97c27b973a824f1b550fb137c8 /gcc/rust/hir
parentfe9e3efdc04e1f99f7089b8cc03b30af5e9d45dd (diff)
downloadgcc-6eaf1b2878262c0c129752cc2d25c6b576577dad.zip
gcc-6eaf1b2878262c0c129752cc2d25c6b576577dad.tar.gz
gcc-6eaf1b2878262c0c129752cc2d25c6b576577dad.tar.bz2
Make is_builtin a member function
This function will be used in the multiple other places, therefore we should make it easily usable from there. gcc/rust/ChangeLog: * ast/rust-ast.cc (Attribute::is_derive): Add member function. * ast/rust-ast.h: Likewise. * expand/rust-expand-visitor.cc (is_derive): Remove old function. (ExpandVisitor::expand_inner_stmts): Update function call. (ExpandVisitor::visit_inner_using_attrs): Likewise. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions