include: Sync lto-symtab.h and plugin-api.h with GCC
authorMartin Liska <mliska@suse.cz>
Sat, 21 Mar 2020 07:09:02 +0000 (08:09 +0100)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 21 Mar 2020 10:39:18 +0000 (03:39 -0700)
Fix comma at end of enumerator list seen with -std=c++98.

* plugin-api.h (enum ld_plugin_symbol_type): Remove
comma after last value of an enum.
* lto-symtab.h (enum gcc_plugin_symbol_type): Likewise.

include/ChangeLog
include/lto-symtab.h
include/plugin-api.h

index 16521ea040f664a1417b6d6952b714f57f3ad4e3..357124762e144d891abe32fb7f72d71ed7968e5d 100644 (file)
@@ -1,3 +1,9 @@
+2020-03-21  Martin Liska  <mliska@suse.cz>
+
+       * plugin-api.h (enum ld_plugin_symbol_type): Remove
+       comma after last value of an enum.
+       * lto-symtab.h (enum gcc_plugin_symbol_type): Likewise.
+
 2020-03-19  Martin Liska  <mliska@suse.cz>
 
        * lto-symtab.h (enum gcc_plugin_symbol_type): New.
index ef2e35f19c3ecffab000b4322e565bbfa015bc91..81a288f5fb6b83a9f11d2f4c5419ebfb442180ec 100644 (file)
@@ -42,7 +42,7 @@ enum gcc_plugin_symbol_type
 {
   GCCST_UNKNOWN,
   GCCST_FUNCTION,
-  GCCST_VARIABLE,
+  GCCST_VARIABLE
 };
 
 enum gcc_plugin_symbol_section_kind
index f0f9667bf3b9f3db30f6d1457f77ce1cf40991e2..673f136ce683fa78879eb1d08c73f5703e9c3bbc 100644 (file)
@@ -141,7 +141,7 @@ enum ld_plugin_symbol_type
 {
   LDST_UNKNOWN,
   LDST_FUNCTION,
-  LDST_VARIABLE,
+  LDST_VARIABLE
 };
 
 enum ld_plugin_symbol_section_kind
This page took 0.026014 seconds and 4 git commands to generate.