aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli-out.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdb/cli-out.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadfsf-binutils-gdb-users/simark/clang-format.zip
fsf-binutils-gdb-users/simark/clang-format.tar.gz
fsf-binutils-gdb-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/cli-out.h')
-rw-r--r--gdb/cli-out.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/gdb/cli-out.h b/gdb/cli-out.h
index 0729834..db84669 100644
--- a/gdb/cli-out.h
+++ b/gdb/cli-out.h
@@ -51,34 +51,31 @@ protected:
virtual void do_field_signed (int fldno, int width, ui_align align,
const char *fldname, LONGEST value) override;
virtual void do_field_unsigned (int fldno, int width, ui_align align,
- const char *fldname, ULONGEST value)
- override;
+ const char *fldname,
+ ULONGEST value) override;
virtual void do_field_skip (int fldno, int width, ui_align align,
const char *fldname) override;
virtual void do_field_string (int fldno, int width, ui_align align,
- const char *fldname,
- const char *string,
+ const char *fldname, const char *string,
const ui_file_style &style) override;
virtual void do_field_fmt (int fldno, int width, ui_align align,
const char *fldname, const ui_file_style &style,
- const char *format, va_list args)
- override ATTRIBUTE_PRINTF (7, 0);
+ const char *format, va_list args) override
+ ATTRIBUTE_PRINTF (7, 0);
virtual void do_spaces (int numspaces) override;
virtual void do_text (const char *string) override;
- virtual void do_message (const ui_file_style &style,
- const char *format, va_list args) override
- ATTRIBUTE_PRINTF (3,0);
+ virtual void do_message (const ui_file_style &style, const char *format,
+ va_list args) override ATTRIBUTE_PRINTF (3, 0);
virtual void do_wrap_hint (int indent) override;
virtual void do_flush () override;
virtual void do_redirect (struct ui_file *outstream) override;
virtual void do_progress_start () override;
- virtual void do_progress_notify (const std::string &, const char *,
- double, double) override;
+ virtual void do_progress_notify (const std::string &, const char *, double,
+ double) override;
virtual void do_progress_end () override;
- bool suppress_output ()
- { return m_suppress_output; }
+ bool suppress_output () { return m_suppress_output; }
private:
@@ -98,8 +95,10 @@ private:
std::chrono::steady_clock::time_point last_update;
cli_progress_info ()
- : pos (0), state (progress_update::START)
- {}
+ : pos (0),
+ state (progress_update::START)
+ {
+ }
};
/* Stack of progress info. */