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/arch/loongarch.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | gdb-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/arch/loongarch.c')
-rw-r--r-- | gdb/arch/loongarch.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/arch/loongarch.c b/gdb/arch/loongarch.c index 168fcbc..5b2bada 100644 --- a/gdb/arch/loongarch.c +++ b/gdb/arch/loongarch.c @@ -33,7 +33,8 @@ #endif STATIC_IN_GDB target_desc_up -loongarch_create_target_description (const struct loongarch_gdbarch_features features) +loongarch_create_target_description ( + const struct loongarch_gdbarch_features features) { /* Now we should create a new target description. */ target_desc_up tdesc = allocate_target_description (); @@ -80,12 +81,13 @@ struct loongarch_gdbarch_features_hasher /* Cache of previously seen target descriptions, indexed by the feature set that created them. */ -static std::unordered_map<loongarch_gdbarch_features, - const target_desc_up, - loongarch_gdbarch_features_hasher> loongarch_tdesc_cache; +static std::unordered_map<loongarch_gdbarch_features, const target_desc_up, + loongarch_gdbarch_features_hasher> + loongarch_tdesc_cache; const target_desc * -loongarch_lookup_target_description (const struct loongarch_gdbarch_features features) +loongarch_lookup_target_description ( + const struct loongarch_gdbarch_features features) { /* Lookup in the cache. If we find it then return the pointer out of the target_desc_up (which is a unique_ptr). This is safe as the |