aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast-dump.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-ast-dump.h')
-rw-r--r--gcc/rust/ast/rust-ast-dump.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/rust/ast/rust-ast-dump.h b/gcc/rust/ast/rust-ast-dump.h
index 2da2736..9fe8ee9 100644
--- a/gcc/rust/ast/rust-ast-dump.h
+++ b/gcc/rust/ast/rust-ast-dump.h
@@ -72,7 +72,9 @@ private:
std::ostream &stream;
Indent indentation;
- // Format together common items of functions: Parameters, return type, block
+ /**
+ * Format together common items of functions: Parameters, return type, block
+ */
void format_function_common (std::unique_ptr<Type> &return_type,
std::unique_ptr<BlockExpr> &block);
@@ -97,13 +99,19 @@ private:
std::ostream &emit_indented_string (const std::string &value,
const std::string &comment = "");
- // Emit formatted string for generic parameters.
+ /**
+ * Emit formatted string for generic parameters
+ */
void emit_generic_params (std::vector<std::unique_ptr<GenericParam>> &params);
- // Format a single field of a tuple.
+ /**
+ * Format a single field of a tuple
+ */
void format_tuple_field (TupleField &field);
- // Format a single field of a struct.
+ /**
+ * Format a single field of a struct
+ */
void format_struct_field (StructField &field);
// rust-ast.h