diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-28 17:26:50 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:04:32 +0100 |
commit | ad1f51084946125ceb33a0086d42fac0f42460be (patch) | |
tree | f55a270e862aae2bae23ff28c5e7e20d53800096 /gcc/fold-const-call.h | |
parent | 3afb921cdaeea68ae11096844fefaf743f64db4b (diff) | |
download | gcc-ad1f51084946125ceb33a0086d42fac0f42460be.zip gcc-ad1f51084946125ceb33a0086d42fac0f42460be.tar.gz gcc-ad1f51084946125ceb33a0086d42fac0f42460be.tar.bz2 |
gccrs: 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/fold-const-call.h')
0 files changed, 0 insertions, 0 deletions