public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix ARI warning in symtab.h
@ 2019-11-05 20:54 Christian Biesinger
0 siblings, 0 replies; only message in thread
From: Christian Biesinger @ 2019-11-05 20:54 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ade7beeae467e81b809fc124d8bfc2f3c4a8c8ab
commit ade7beeae467e81b809fc124d8bfc2f3c4a8c8ab
Author: Christian Biesinger <cbiesinger@google.com>
Date: Tue Nov 5 14:52:59 2019 -0600
Fix ARI warning in symtab.h
gdb/ChangeLog:
2019-11-05 Christian Biesinger <cbiesinger@google.com>
* symtab.h (gdb_static_assert): Put && operator at the beginning
of the line instead of the end.
Change-Id: I6d05c2f5e46c3f317ba97458509b2da9fd03464b
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/symtab.h | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 41daef6..efa66ee 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-05 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.h (gdb_static_assert): Put && operator at the beginning
+ of the line instead of the end.
+
2019-11-04 Christian Biesinger <cbiesinger@google.com>
* psympriv.h: Add static_asserts for sizeof (general_symbol_info)
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 83b75d1..111a0f9 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -450,8 +450,8 @@ struct general_symbol_info
makes sure the size doesn't change accidentally. Be careful when
purposely increasing the size. */
gdb_static_assert ((sizeof (void *) == 8 && sizeof (general_symbol_info) == 32)
- || (sizeof (void *) == 4 &&
- sizeof (general_symbol_info) == 20));
+ || (sizeof (void *) == 4
+ && sizeof (general_symbol_info) == 20));
extern void symbol_set_demangled_name (struct general_symbol_info *,
const char *,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-05 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 20:54 [binutils-gdb] Fix ARI warning in symtab.h Christian Biesinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).