1. Jason R. Coombs
  2. gcc-xml

Commits

king  committed 0573c2e

BUG: Added missing access attribute to xml_output_field_decl. Pointed out by Michael Santy.

  • Participants
  • Parent commits ac945b7
  • Branches default
  • Tags declaration-style-bp

Comments (0)

Files changed (2)

File GCC/gcc/cp/xml.c

View file
  • Ignore whitespace
   print_indent (xdi->file, indent);
   fprintf (xdi->file, "<Field");
   print_name_attribute (xdi, DECL_NAME (fd));
+  print_access_attribute (xdi, fd);
   /* TODO: handle bit field case.  */
   print_type_attribute (xdi, TREE_TYPE (fd));
   print_location_attribute (xdi, fd);

File GCC_XML/xml.c

View file
  • Ignore whitespace
   print_indent (xdi->file, indent);
   fprintf (xdi->file, "<Field");
   print_name_attribute (xdi, DECL_NAME (fd));
+  print_access_attribute (xdi, fd);
   /* TODO: handle bit field case.  */
   print_type_attribute (xdi, TREE_TYPE (fd));
   print_location_attribute (xdi, fd);