[FYI/PUSHED] Fix ARI warning in symtab.h

Message ID 20191105205404.252519-1-cbiesinger@google.com
State New, archived
Headers

Commit Message

Terekhov, Mikhail via Gdb-patches Nov. 5, 2019, 8:54 p.m. UTC
  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
---
 gdb/symtab.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/gdb/symtab.h b/gdb/symtab.h
index 83b75d1647..111a0f924d 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 *,