diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/remote-notif.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/remote-notif.h')
-rw-r--r-- | gdb/remote-notif.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gdb/remote-notif.h b/gdb/remote-notif.h index c95e1f6..7a14e92 100644 --- a/gdb/remote-notif.h +++ b/gdb/remote-notif.h @@ -27,9 +27,7 @@ struct notif_event { - virtual ~notif_event () - { - } + virtual ~notif_event () {} }; /* A unique pointer holding a notif_event. */ @@ -59,15 +57,13 @@ struct notif_client /* Parse BUF to get the expected event and update EVENT. This function may throw exception if contents in BUF is not the expected event. */ - void (*parse) (remote_target *remote, - const notif_client *self, const char *buf, - struct notif_event *event); + void (*parse) (remote_target *remote, const notif_client *self, + const char *buf, struct notif_event *event); /* Send field <ack_command> to remote, and do some checking. If something wrong, throw an exception. */ - void (*ack) (remote_target *remote, - const notif_client *self, const char *buf, - struct notif_event *event); + void (*ack) (remote_target *remote, const notif_client *self, + const char *buf, struct notif_event *event); /* Check this notification client can get pending events in 'remote_notif_process'. */ |