aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-23 18:58:36 +0000
committerPedro Alves <palves@redhat.com>2019-01-23 19:14:44 +0000
commit296bd123f76d7f8474b5a2937a49fd619748a871 (patch)
tree0ac704a0c57cfc0a9dc7ea784d4bce74b8fa25c9 /gdb/ui-out.h
parent979a0d1304ac7d73c9887f851e811d49752923fb (diff)
downloadgdb-296bd123f76d7f8474b5a2937a49fd619748a871.zip
gdb-296bd123f76d7f8474b5a2937a49fd619748a871.tar.gz
gdb-296bd123f76d7f8474b5a2937a49fd619748a871.tar.bz2
Update cleanup comment in ui-out.h
ui-out.h refers to some cleanup functions that no longer exist. This updates the reference. gdb/ChangeLog: 2019-01-23 Tom Tromey <tom@tromey.com> * ui-out.h (class ui_out_emit_type): Update comment.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index 5f4eea5..8d18306 100644
--- a/gdb/ui-out.h
+++ b/gdb/ui-out.h
@@ -195,11 +195,9 @@ class ui_out
ui_out_level *current_level () const;
};
-/* This is similar to make_cleanup_ui_out_tuple_begin_end and
- make_cleanup_ui_out_list_begin_end, but written as an RAII template
- class. It takes the ui_out_type as a template parameter. Normally
- this is used via the typedefs ui_out_emit_tuple and
- ui_out_emit_list. */
+/* Start a new tuple or list on construction, and end it on
+ destruction. Normally this is used via the typedefs
+ ui_out_emit_tuple and ui_out_emit_list. */
template<ui_out_type Type>
class ui_out_emit_type
{