diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2015-08-05 23:18:09 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2015-08-05 23:18:09 +0000 |
commit | 2eff14701519ab3abf8eeb479f1c831a80ee1cc5 (patch) | |
tree | 9173760f41abd1cb562202309884956b34dfcb46 | |
parent | e1ed1bca36bfe2b48375516ee787936fb4316d9f (diff) | |
download | gcc-2eff14701519ab3abf8eeb479f1c831a80ee1cc5.zip gcc-2eff14701519ab3abf8eeb479f1c831a80ee1cc5.tar.gz gcc-2eff14701519ab3abf8eeb479f1c831a80ee1cc5.tar.bz2 |
coretypes.h (enum symbol_visibility): Relocate here.
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/coretypes.h | 10 | ||||
-rw-r--r-- | gcc/flag-types.h | 13 | ||||
-rw-r--r-- | gcc/tree-core.h | 11 |
4 files changed, 16 insertions, 24 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81a1430..646dd18 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/coretypes.h b/gcc/coretypes.h index e3cec01..17e2b40 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -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) diff --git a/gcc/flag-types.h b/gcc/flag-types.h index 2f820a5..ac9ca0b 100644 --- a/gcc/flag-types.h +++ b/gcc/flag-types.h @@ -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 diff --git a/gcc/tree-core.h b/gcc/tree-core.h index ecefdb9..560ce4b 100644 --- a/gcc/tree-core.h +++ b/gcc/tree-core.h @@ -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, |