diff options
Diffstat (limited to 'gcc/rust/expand/rust-proc-macro.cc')
-rw-r--r-- | gcc/rust/expand/rust-proc-macro.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/rust/expand/rust-proc-macro.cc b/gcc/rust/expand/rust-proc-macro.cc index 0968073..7a02ff3 100644 --- a/gcc/rust/expand/rust-proc-macro.cc +++ b/gcc/rust/expand/rust-proc-macro.cc @@ -29,21 +29,19 @@ namespace Rust { BangProcMacro::BangProcMacro (ProcMacro::Bang macro) - : name (macro.name), - node_id (Analysis::Mappings::get ()->get_next_node_id ()), + : name (macro.name), node_id (Analysis::Mappings::get ().get_next_node_id ()), macro (macro.macro) {} AttributeProcMacro::AttributeProcMacro (ProcMacro::Attribute macro) - : name (macro.name), - node_id (Analysis::Mappings::get ()->get_next_node_id ()), + : name (macro.name), node_id (Analysis::Mappings::get ().get_next_node_id ()), macro (macro.macro) {} CustomDeriveProcMacro::CustomDeriveProcMacro (ProcMacro::CustomDerive macro) : trait_name (macro.trait_name), attributes (macro.attributes, macro.attributes + macro.attr_size), - node_id (Analysis::Mappings::get ()->get_next_node_id ()), + node_id (Analysis::Mappings::get ().get_next_node_id ()), macro (macro.macro) {} |