aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-command.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/tui/tui-command.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadgdb-users/simark/clang-format.zip
gdb-users/simark/clang-format.tar.gz
gdb-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/tui/tui-command.h')
-rw-r--r--gdb/tui/tui-command.h27
1 files changed, 6 insertions, 21 deletions
diff --git a/gdb/tui/tui-command.h b/gdb/tui/tui-command.h
index f684288..d6ef32c 100644
--- a/gdb/tui/tui-command.h
+++ b/gdb/tui/tui-command.h
@@ -31,24 +31,13 @@ struct tui_cmd_window : public tui_win_info
DISABLE_COPY_AND_ASSIGN (tui_cmd_window);
- void refresh_window () override
- {
- }
+ void refresh_window () override {}
- const char *name () const override
- {
- return CMD_NAME;
- }
+ const char *name () const override { return CMD_NAME; }
- bool can_scroll () const override
- {
- return false;
- }
+ bool can_scroll () const override { return false; }
- bool can_box () const override
- {
- return false;
- }
+ bool can_box () const override { return false; }
void resize (int height, int width, int origin_x, int origin_y) override;
@@ -61,13 +50,9 @@ struct tui_cmd_window : public tui_win_info
protected:
- void do_scroll_vertical (int num_to_scroll) override
- {
- }
+ void do_scroll_vertical (int num_to_scroll) override {}
- void do_scroll_horizontal (int num_to_scroll) override
- {
- }
+ void do_scroll_horizontal (int num_to_scroll) override {}
};
/* Refresh the command window. */