This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Reindent cli-out.h
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 24 Apr 2018 13:37:57 -0000
- Subject: [binutils-gdb] Reindent cli-out.h
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e427af1889e6d169c3390f6960f1efdd08dca883
commit e427af1889e6d169c3390f6960f1efdd08dca883
Author: Tom Tromey <tom@tromey.com>
Date: Sun Apr 22 17:57:32 2018 -0600
Reindent cli-out.h
I noticed that cli-out.h had incorrect indentation in some spots.
This fixes it.
ChangeLog
2018-04-24 Tom Tromey <tom@tromey.com>
* cli-out.h: Reindent.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/cli-out.h | 16 +++++++++-------
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7101934..33e4da7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-04-24 Tom Tromey <tom@tromey.com>
+ * cli-out.h: Reindent.
+
+2018-04-24 Tom Tromey <tom@tromey.com>
+
* cli-out.c (cli_ui_out::out_field_fmt): Remove.
(cli_ui_out::do_field_string): Use fputs_filtered.
* cli-out.h (class cli_ui_out) <out_field_fmt>: Remove.
diff --git a/gdb/cli-out.h b/gdb/cli-out.h
index adbd244..f701da7 100644
--- a/gdb/cli-out.h
+++ b/gdb/cli-out.h
@@ -35,24 +35,26 @@ public:
protected:
virtual void do_table_begin (int nbrofcols, int nr_rows,
- const char *tblid) override;
+ const char *tblid) override;
virtual void do_table_body () override;
virtual void do_table_end () override;
virtual void do_table_header (int width, ui_align align,
- const std::string &col_name,
- const std::string &col_hdr) override;
+ const std::string &col_name,
+ const std::string &col_hdr) override;
/* Note: level 0 is the top-level so LEVEL is always greater than
zero. */
virtual void do_begin (ui_out_type type, const char *id) override;
virtual void do_end (ui_out_type type) override;
virtual void do_field_int (int fldno, int width, ui_align align,
- const char *fldname, int value) override;
+ const char *fldname, int value) override;
virtual void do_field_skip (int fldno, int width, ui_align align,
- const char *fldname) override;
+ const char *fldname) override;
virtual void do_field_string (int fldno, int width, ui_align align,
- const char *fldname, const char *string) override;
+ const char *fldname,
+ const char *string) override;
virtual void do_field_fmt (int fldno, int width, ui_align align,
- const char *fldname, const char *format, va_list args)
+ const char *fldname, const char *format,
+ va_list args)
override ATTRIBUTE_PRINTF (6,0);
virtual void do_spaces (int numspaces) override;
virtual void do_text (const char *string) override;