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/dwarf2/abbrev-cache.c | |
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/dwarf2/abbrev-cache.c')
-rw-r--r-- | gdb/dwarf2/abbrev-cache.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/dwarf2/abbrev-cache.c b/gdb/dwarf2/abbrev-cache.c index 6de81cd..73df4d7 100644 --- a/gdb/dwarf2/abbrev-cache.c +++ b/gdb/dwarf2/abbrev-cache.c @@ -43,8 +43,8 @@ abbrev_cache::eq_table (const void *lhs, const void *rhs) abbrev_cache::abbrev_cache () : m_tables (htab_create_alloc (20, hash_table, eq_table, - htab_delete_entry<abbrev_table>, - xcalloc, xfree)) + htab_delete_entry<abbrev_table>, xcalloc, + xfree)) { } @@ -56,9 +56,9 @@ abbrev_cache::add (abbrev_table_up table) return; search_key key = { table->section, table->sect_off }; - void **slot = htab_find_slot_with_hash (m_tables.get (), &key, - to_underlying (table->sect_off), - INSERT); + void **slot + = htab_find_slot_with_hash (m_tables.get (), &key, + to_underlying (table->sect_off), INSERT); /* If this one already existed, then it should have been reused. */ gdb_assert (*slot == nullptr); *slot = (void *) table.release (); |