]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Correct formatting errors commited in rev 147516
authortglek <tglek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 May 2009 23:10:50 +0000 (23:10 +0000)
committertglek <tglek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 May 2009 23:10:50 +0000 (23:10 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147547 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ac58e2b1611186a006a6451d0208fb0b03de217f..0cd4a41e1596146a24b537f87f2cd2bd55df8621 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 a7f549e1dc8c8a7f1b5c0fdafd061eb4eb13d357..5b18aa357513c2ac89e9d25b832dbd95fe5ef0ea 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 1c6d5831759fe6bb833800e42086a44227fab2c8..3d5aeb05a7489de5b9413ca94e8017b2a1266602 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>