aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-macro.h')
-rw-r--r--gcc/rust/ast/rust-macro.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/rust/ast/rust-macro.h b/gcc/rust/ast/rust-macro.h
index 2a97854..5760392 100644
--- a/gcc/rust/ast/rust-macro.h
+++ b/gcc/rust/ast/rust-macro.h
@@ -132,8 +132,7 @@ public:
{}
// Copy constructor with clone
- MacroMatchRepetition (MacroMatchRepetition const &other)
- : op (other.op)
+ MacroMatchRepetition (MacroMatchRepetition const &other) : op (other.op)
{
// guard to protect from null pointer dereference
if (other.sep != nullptr)
@@ -291,7 +290,7 @@ class MacroRulesDefinition : public MacroItem
{
std::vector<Attribute> outer_attrs;
Identifier rule_name;
- // MacroRulesDef rules_def;
+ // MacroRulesDef rules_def;
// only curly without required semicolon at end
DelimType delim_type;
// MacroRules rules;
@@ -363,7 +362,7 @@ protected:
{
return new MacroInvocation (*this);
}
-
+
/* Use covariance to implement clone function as returning this object rather
* than base */
MacroInvocation *clone_expr_without_block_impl () const override