Commit 2eff1470 by Andrew MacLeod Committed by Andrew Macleod

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
parent e1ed1bca
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
......
......@@ -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)
......
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment