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 /gdbserver/tdesc.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 'gdbserver/tdesc.h')
-rw-r--r-- | gdbserver/tdesc.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdbserver/tdesc.h b/gdbserver/tdesc.h index 7fe7d0d..b920775 100644 --- a/gdbserver/tdesc.h +++ b/gdbserver/tdesc.h @@ -60,9 +60,7 @@ struct target_desc final : tdesc_element const char *osabi = NULL; public: - target_desc () - : registers_size (0) - {} + target_desc () : registers_size (0) {} ~target_desc (); @@ -80,13 +78,12 @@ public: /* Copy target description SRC to DEST. */ void copy_target_description (struct target_desc *dest, - const struct target_desc *src); + const struct target_desc *src); /* Initialize TDESC, and then set its expedite_regs field to EXPEDITE_REGS. */ -void init_target_desc (struct target_desc *tdesc, - const char **expedite_regs); +void init_target_desc (struct target_desc *tdesc, const char **expedite_regs); /* Return the current inferior's target description. Never returns NULL. */ @@ -96,6 +93,6 @@ const struct target_desc *current_target_desc (void); /* Return true if TDESC contains the feature described by string FEATURE. Return false otherwise. */ bool tdesc_contains_feature (const target_desc *tdesc, - const std::string &feature); + const std::string &feature); #endif /* GDBSERVER_TDESC_H */ |