coretypes.h (enum symbol_visibility): Relocate here.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 5 Aug 2015 23:18:09 +0000 (23:18 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 5 Aug 2015 23:18:09 +0000 (23:18 +0000)
2015-08-05  Andrew MacLeod  <amacleod@redhat.com>

* coretypes.h (enum symbol_visibility): Relocate here.
* flag-types.h (enum symbol_visibility): Remove.
* tree-core.h (enum symbol_visibility): Remove.

From-SVN: r226648

gcc/ChangeLog
gcc/coretypes.h
gcc/flag-types.h
gcc/tree-core.h

index 81a1430..646dd18 100644 (file)
@@ -1,3 +1,9 @@
+2015-08-05  Andrew MacLeod  <amacleod@redhat.com>
+
+       * coretypes.h (enum symbol_visibility): Relocate here.
+       * flag-types.h (enum symbol_visibility): Remove.
+       * tree-core.h (enum symbol_visibility): Remove.
+
 2015-08-05  Lynn Boger  <laboger@linux.vnet.ibm.com>
 
        PR target/66870
index e3cec01..17e2b40 100644 (file)
@@ -270,6 +270,16 @@ enum function_class {
   function_c11_misc
 };
 
+/* Enumerate visibility settings.  This is deliberately ordered from most
+   to least visibility.  */
+enum symbol_visibility
+{
+  VISIBILITY_DEFAULT,
+  VISIBILITY_PROTECTED,
+  VISIBILITY_HIDDEN,
+  VISIBILITY_INTERNAL
+};
+
 /* Suppose that higher bits are target dependent. */
 #define MEMMODEL_MASK ((1<<16)-1)
 
index 2f820a5..ac9ca0b 100644 (file)
@@ -91,19 +91,6 @@ enum debug_struct_file
   DINFO_STRUCT_FILE_ANY     /* Debug structs defined in all files. */
 };
 
-/* Enumerate visibility settings.  This is deliberately ordered from most
-   to least visibility.  */
-#ifndef SYMBOL_VISIBILITY_DEFINED
-#define SYMBOL_VISIBILITY_DEFINED
-enum symbol_visibility
-{
-  VISIBILITY_DEFAULT,
-  VISIBILITY_PROTECTED,
-  VISIBILITY_HIDDEN,
-  VISIBILITY_INTERNAL
-};
-#endif
-
 /* Enumerate Objective-c instance variable visibility settings. */
 
 enum ivar_visibility
index ecefdb9..560ce4b 100644 (file)
@@ -433,17 +433,6 @@ enum cv_qualifier {
   TYPE_QUAL_ATOMIC   = 0x8
 };
 
-/* Enumerate visibility settings.  */
-#ifndef SYMBOL_VISIBILITY_DEFINED
-#define SYMBOL_VISIBILITY_DEFINED
-enum symbol_visibility {
-  VISIBILITY_DEFAULT,
-  VISIBILITY_PROTECTED,
-  VISIBILITY_HIDDEN,
-  VISIBILITY_INTERNAL
-};
-#endif  // SYMBOL_VISIBILITY_DEFINED
-
 /* Standard named or nameless data types of the C compiler.  */
 enum tree_index {
   TI_ERROR_MARK,