Home
last modified time | relevance | path

Searched refs:enumtype (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.base-hp/
H A Dcallfwmall.c75 enum enumtype { enumval1, enumval2, enumval3 }; enum
76 enum enumtype enum_val1 = enumval1;
77 enum enumtype enum_val2 = enumval2;
78 enum enumtype enum_val3 = enumval3;
81 int t_enum_value1 (enum enumtype enum_arg) in t_enum_value1()
84 enum enumtype enum_arg; in t_enum_value1()
91 int t_enum_value2 (enum enumtype enum_arg) in t_enum_value2()
94 enum enumtype enum_arg; in t_enum_value2()
101 int t_enum_value3 (enum enumtype enum_arg) in t_enum_value3()
104 enum enumtype enum_arg; in t_enum_value3()
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dcallfuncs.c97 enum enumtype { enumval1, enumval2, enumval3 }; enum
98 enum enumtype enum_val1 = enumval1;
99 enum enumtype enum_val2 = enumval2;
100 enum enumtype enum_val3 = enumval3;
103 int t_enum_value1 (enum enumtype enum_arg) in t_enum_value1()
105 int t_enum_value1 (enum_arg) enum enumtype enum_arg; in t_enum_value1()
112 int t_enum_value2 (enum enumtype enum_arg) in t_enum_value2()
114 int t_enum_value2 (enum_arg) enum enumtype enum_arg; in t_enum_value2()
121 int t_enum_value3 (enum enumtype enum_arg) in t_enum_value3()
123 int t_enum_value3 (enum_arg) enum enumtype enum_arg; in t_enum_value3()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dc-decl.c5547 tree enumtype = 0; local
5554 enumtype = lookup_tag (ENUMERAL_TYPE, name, current_binding_level, 1);
5556 if (enumtype == 0 || TREE_CODE (enumtype) != ENUMERAL_TYPE)
5558 enumtype = make_node (ENUMERAL_TYPE);
5559 pushtag (name, enumtype);
5562 C_TYPE_BEING_DEFINED (enumtype) = 1;
5564 if (TYPE_VALUES (enumtype) != 0)
5571 TYPE_VALUES (enumtype) = 0;
5578 TYPE_PACKED (enumtype) = 1;
5580 return enumtype;
[all …]
H A DChangeLog.114662 * c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
/openbsd-src/gnu/gcc/gcc/
H A Dc-decl.c5737 tree enumtype = 0; in start_enum() local
5744 enumtype = lookup_tag (ENUMERAL_TYPE, name, 1); in start_enum()
5746 if (enumtype == 0 || TREE_CODE (enumtype) != ENUMERAL_TYPE) in start_enum()
5748 enumtype = make_node (ENUMERAL_TYPE); in start_enum()
5749 pushtag (name, enumtype); in start_enum()
5752 if (C_TYPE_BEING_DEFINED (enumtype)) in start_enum()
5755 C_TYPE_BEING_DEFINED (enumtype) = 1; in start_enum()
5757 if (TYPE_VALUES (enumtype) != 0) in start_enum()
5764 TYPE_VALUES (enumtype) = 0; in start_enum()
5771 TYPE_PACKED (enumtype) = 1; in start_enum()
[all …]
/openbsd-src/gnu/gcc/gcc/cp/
H A Ddecl.c10097 tree enumtype; in start_enum() local
10105 enumtype = lookup_and_check_tag (enum_type, name, in start_enum()
10109 if (enumtype != NULL_TREE && TREE_CODE (enumtype) == ENUMERAL_TYPE) in start_enum()
10111 error ("multiple definition of %q#T", enumtype); in start_enum()
10112 error ("%Jprevious definition here", TYPE_MAIN_DECL (enumtype)); in start_enum()
10114 TYPE_VALUES (enumtype) = NULL_TREE; in start_enum()
10120 if (enumtype == error_mark_node) in start_enum()
10123 enumtype = make_node (ENUMERAL_TYPE); in start_enum()
10124 enumtype = pushtag (name, enumtype, /*tag_scope=*/ts_current); in start_enum()
10127 return enumtype; in start_enum()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Ddecl.c13977 register tree enumtype = NULL_TREE; local
13985 enumtype = lookup_tag (ENUMERAL_TYPE, name, b, 1);
13987 if (enumtype != NULL_TREE && TREE_CODE (enumtype) == ENUMERAL_TYPE)
13989 error ("multiple definition of `%#T'", enumtype);
13990 cp_error_at ("previous definition here", enumtype);
13992 TYPE_VALUES (enumtype) = NULL_TREE;
13996 enumtype = make_node (ENUMERAL_TYPE);
13997 pushtag (name, enumtype, 0);
14000 return enumtype;
14008 finish_enum (enumtype) in finish_enum() argument
[all …]
/openbsd-src/gnu/llvm/clang/docs/tools/
H A Ddump_format_style.py141 def __init__(self, name, enumtype, comment, values): argument
145 self.type = enumtype
/openbsd-src/gnu/usr.bin/texinfo/makeinfo/
H A Dinsertion.c319 int enumtype; member
337 enumstack[enumstack_offset].enumtype = current_enumtype; in start_enumerating()
352 current_enumtype = enumstack[enumstack_offset].enumtype; in stop_enumerating()