Update cleanup comment in ui-out.h
authorTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 18:58:36 +0000 (18:58 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 23 Jan 2019 19:14:44 +0000 (19:14 +0000)
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.

gdb/ChangeLog
gdb/ui-out.h

index d7bfd2dba012fe557f54bc16434b3b66983351b6..39d5b58087867890c976699487c05c29b4e721c1 100644 (file)
@@ -1,3 +1,7 @@
+2019-01-23  Tom Tromey  <tom@tromey.com>
+
+       * ui-out.h (class ui_out_emit_type): Update comment.
+
 2019-01-23  Tom Tromey  <tom@tromey.com>
 
        * infrun.c (fetch_inferior_event): Update comment.
index 5f4eea54919e6df3f44b8b3ab08a4961fd0a88fe..8d183060b533654cc91756d1dfa5aa637e360cdf 100644 (file)
@@ -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
 {
This page took 0.026899 seconds and 4 git commands to generate.