Correct formatting errors commited in rev 147516
authorTaras Glek <tglek@gcc.gnu.org>
Thu, 14 May 2009 23:10:50 +0000 (23:10 +0000)
committerTaras Glek <tglek@gcc.gnu.org>
Thu, 14 May 2009 23:10:50 +0000 (23:10 +0000)
From-SVN: r147547

gcc/ChangeLog
gcc/attribs.c
gcc/cp/ChangeLog

index ac58e2b..0cd4a41 100644 (file)
        * mips-tfile.c (add_ext_symbol): Add casts to enum types.
        (mark_stabs): Add casts to enum types.
        (parse_stabs_common): Add casts to enum types.
-       
+
 2009-05-13  Adam Nemet  <anemet@caviumnetworks.com>
 
        * config/mips/mips.c (mips_print_operand) <REG, MEM, default>:
 
 2009-05-13  Taras Glek  <tglek@mozilla.com>
 
-       * attribs.c moved out attribute registration into register_attribute
-       * doc/plugins.texi Documented register_attribute and PLUGIN_ATTRIBUTES
-       * gcc-plugin.h Added forward decl for register_attribute
-       * plugin.c Added PLUGIN_ATTRIBUTES boilerplate
-       * plugin.h Added PLUGIN_ATTRIBUTES
+       * attribs.c (register_attribute): moved out attribute registration into
+       register_attribute.
+       * doc/plugins.texi: Documented register_attribute and PLUGIN_ATTRIBUTES.
+       * gcc-plugin.h: Added forward decl for register_attribute.
+       * gcc-plugin.h (plugins_event): Added PLUGIN_ATTRIBUTES.
+       * plugin.c (register_callback, invoke_plugin_callbacks): Added
+       PLUGIN_ATTRIBUTES boilerplate.
 
 2009-05-14  Dave Korn  <dave.korn.cygwin@gmail.com>
 
index a7f549e..5b18aa3 100644 (file)
@@ -194,16 +194,16 @@ init_attributes (void)
 void
 register_attribute (const struct attribute_spec *attr) 
 {
-       struct substring str;
-       const void **slot;
-
-       str.str = attr->name;
-       str.length = strlen (str.str);
-       slot = (const void **)htab_find_slot_with_hash (attribute_hash, &str,
-                                        substring_hash (str.str, str.length),
-                                        INSERT);
-       gcc_assert (!*slot);
-       *slot = attr;
+  struct substring str;
+  const void **slot;
+
+  str.str = attr->name;
+  str.length = strlen (str.str);
+  slot = (const void **)htab_find_slot_with_hash (attribute_hash, &str,
+                                                  substring_hash (str.str, str.length),
+                                                  INSERT);
+  gcc_assert (!*slot);
+  *slot = attr;
 }
 
 /* Return the spec for the attribute named NAME.  */
index 1c6d583..3d5aeb0 100644 (file)
@@ -7,7 +7,7 @@
 
 2009-05-13  David Mandelin <dmandelin@mozilla.com>:
 
-      * decl.c (duplicate_decls): Preserve parameter attributes.
+       * decl.c (duplicate_decls): Preserve parameter attributes.
 
 2009-05-10  Jan Hubicka  <jh@suse.cz>