* gdbtypes.h (TYPE_IS_OPAQUE): Reformat.
authorDoug Evans <dje@google.com>
Wed, 8 Dec 2010 21:35:59 +0000 (21:35 +0000)
committerDoug Evans <dje@google.com>
Wed, 8 Dec 2010 21:35:59 +0000 (21:35 +0000)
gdb/ChangeLog
gdb/gdbtypes.h

index 75c7e32..0d1deb7 100644 (file)
@@ -1,5 +1,7 @@
 2010-12-08  Doug Evans  <dje@google.com>
 
+       * gdbtypes.h (TYPE_IS_OPAQUE): Reformat.
+
        * gdbtypes.c (check_typedef): Tweak comment.
 
        PR symtab/12302
index 51eb445..1ce2d91 100644 (file)
@@ -1094,12 +1094,13 @@ extern void allocate_gnat_aux_type (struct type *);
 #define TYPE_TYPEDEF_FIELD_COUNT(thistype) \
   TYPE_CPLUS_SPECIFIC (thistype)->typedef_field_count
 
-#define TYPE_IS_OPAQUE(thistype) (((TYPE_CODE (thistype) == TYPE_CODE_STRUCT) ||        \
-                                   (TYPE_CODE (thistype) == TYPE_CODE_UNION))        && \
-                                  (TYPE_NFIELDS (thistype) == 0)                     && \
-                                  (!HAVE_CPLUS_STRUCT (thistype)                       \
-                                  || TYPE_NFN_FIELDS (thistype) == 0) &&               \
-                                  (TYPE_STUB (thistype) || !TYPE_STUB_SUPPORTED (thistype)))
+#define TYPE_IS_OPAQUE(thistype) \
+  (((TYPE_CODE (thistype) == TYPE_CODE_STRUCT) \
+    || (TYPE_CODE (thistype) == TYPE_CODE_UNION)) \
+   && (TYPE_NFIELDS (thistype) == 0) \
+   && (!HAVE_CPLUS_STRUCT (thistype) \
+       || TYPE_NFN_FIELDS (thistype) == 0) \
+   && (TYPE_STUB (thistype) || !TYPE_STUB_SUPPORTED (thistype)))
 
 /* A helper macro that returns the name of an error type.  If the type
    has a name, it is used; otherwise, a default is used.  */