Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dlanghooks.c488 tree enumtype = lang_hooks.types.make_type (ENUMERAL_TYPE); in lhd_simulate_enum_decl() local
489 tree enumdecl = build_decl (loc, TYPE_DECL, get_identifier (name), enumtype); in lhd_simulate_enum_decl()
490 TYPE_STUB_DECL (enumtype) = enumdecl; in lhd_simulate_enum_decl()
498 get_identifier (value->first), enumtype); in lhd_simulate_enum_decl()
506 TYPE_MIN_VALUE (enumtype) = TYPE_MIN_VALUE (integer_type_node); in lhd_simulate_enum_decl()
507 TYPE_MAX_VALUE (enumtype) = TYPE_MAX_VALUE (integer_type_node); in lhd_simulate_enum_decl()
508 SET_TYPE_ALIGN (enumtype, TYPE_ALIGN (integer_type_node)); in lhd_simulate_enum_decl()
509 TYPE_PRECISION (enumtype) = TYPE_PRECISION (integer_type_node); in lhd_simulate_enum_decl()
510 layout_type (enumtype); in lhd_simulate_enum_decl()
513 return enumtype; in lhd_simulate_enum_decl()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dlanghooks.cc490 tree enumtype = lang_hooks.types.make_type (ENUMERAL_TYPE); in lhd_simulate_enum_decl() local
491 tree enumdecl = build_decl (loc, TYPE_DECL, get_identifier (name), enumtype); in lhd_simulate_enum_decl()
492 TYPE_STUB_DECL (enumtype) = enumdecl; in lhd_simulate_enum_decl()
501 get_identifier (value->first), enumtype); in lhd_simulate_enum_decl()
509 TYPE_MIN_VALUE (enumtype) = TYPE_MIN_VALUE (integer_type_node); in lhd_simulate_enum_decl()
510 TYPE_MAX_VALUE (enumtype) = TYPE_MAX_VALUE (integer_type_node); in lhd_simulate_enum_decl()
511 SET_TYPE_ALIGN (enumtype, TYPE_ALIGN (integer_type_node)); in lhd_simulate_enum_decl()
512 TYPE_PRECISION (enumtype) = TYPE_PRECISION (integer_type_node); in lhd_simulate_enum_decl()
513 layout_type (enumtype); in lhd_simulate_enum_decl()
516 return enumtype; in lhd_simulate_enum_decl()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl.c15419 start_enum (tree name, tree enumtype, tree underlying_type, in start_enum() argument
15440 if (!enumtype) in start_enum()
15441 enumtype = lookup_and_check_tag (enum_type, name, in start_enum()
15447 if (enumtype && TREE_CODE (enumtype) == ENUMERAL_TYPE) in start_enum()
15449 if (scoped_enum_p != SCOPED_ENUM_P (enumtype)) in start_enum()
15452 "in enum %q#T", enumtype); in start_enum()
15453 inform (DECL_SOURCE_LOCATION (TYPE_MAIN_DECL (enumtype)), in start_enum()
15455 enumtype = error_mark_node; in start_enum()
15457 else if (ENUM_FIXED_UNDERLYING_TYPE_P (enumtype) != !! underlying_type) in start_enum()
15460 "in enum %q#T", enumtype); in start_enum()
[all …]
H A Dname-lookup.c1556 member_vec_append_enum_values (vec<tree, va_gc> *member_vec, tree enumtype) in member_vec_append_enum_values() argument
1558 for (tree values = TYPE_VALUES (enumtype); in member_vec_append_enum_values()
1699 insert_late_enum_def_bindings (tree klass, tree enumtype) in insert_late_enum_def_bindings() argument
1709 n_fields = list_length (TYPE_VALUES (enumtype)); in insert_late_enum_def_bindings()
1715 member_vec_append_enum_values (member_vec, enumtype); in insert_late_enum_def_bindings()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Ddecl.cc16224 start_enum (tree name, tree enumtype, tree underlying_type, in start_enum() argument
16245 if (!enumtype) in start_enum()
16246 enumtype = lookup_and_check_tag (enum_type, name, in start_enum()
16252 if (enumtype && TREE_CODE (enumtype) == ENUMERAL_TYPE) in start_enum()
16254 if (scoped_enum_p != SCOPED_ENUM_P (enumtype)) in start_enum()
16257 "in enum %q#T", enumtype); in start_enum()
16258 inform (DECL_SOURCE_LOCATION (TYPE_MAIN_DECL (enumtype)), in start_enum()
16260 enumtype = error_mark_node; in start_enum()
16262 else if (ENUM_FIXED_UNDERLYING_TYPE_P (enumtype) != !! underlying_type) in start_enum()
16265 "in enum %q#T", enumtype); in start_enum()
[all …]
H A Dname-lookup.cc2176 member_vec_append_enum_values (vec<tree, va_gc> *member_vec, tree enumtype) in member_vec_append_enum_values() argument
2178 for (tree values = TYPE_VALUES (enumtype); in member_vec_append_enum_values()
2321 insert_late_enum_def_bindings (tree klass, tree enumtype) in insert_late_enum_def_bindings() argument
2331 n_fields = list_length (TYPE_VALUES (enumtype)); in insert_late_enum_def_bindings()
2337 member_vec_append_enum_values (member_vec, enumtype); in insert_late_enum_def_bindings()
H A DChangeLog-200818 * decl.c (start_enum): If enumtype is error_mark_node, exit early.
H A DChangeLog-2010972 (start_enum): Add parameters enumtype and is_new.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c8752 tree enumtype = NULL_TREE; in start_enum() local
8760 enumtype = lookup_tag (ENUMERAL_TYPE, name, true, &enumloc); in start_enum()
8762 if (enumtype == NULL_TREE || TREE_CODE (enumtype) != ENUMERAL_TYPE) in start_enum()
8764 enumtype = make_node (ENUMERAL_TYPE); in start_enum()
8765 pushtag (loc, name, enumtype); in start_enum()
8769 else if (TYPE_STUB_DECL (enumtype)) in start_enum()
8771 enumloc = DECL_SOURCE_LOCATION (TYPE_STUB_DECL (enumtype)); in start_enum()
8772 DECL_SOURCE_LOCATION (TYPE_STUB_DECL (enumtype)) = loc; in start_enum()
8775 if (C_TYPE_BEING_DEFINED (enumtype)) in start_enum()
8778 C_TYPE_BEING_DEFINED (enumtype) = 1; in start_enum()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc9104 tree enumtype = NULL_TREE; in start_enum() local
9112 enumtype = lookup_tag (ENUMERAL_TYPE, name, true, &enumloc); in start_enum()
9114 if (enumtype == NULL_TREE || TREE_CODE (enumtype) != ENUMERAL_TYPE) in start_enum()
9116 enumtype = make_node (ENUMERAL_TYPE); in start_enum()
9117 pushtag (loc, name, enumtype); in start_enum()
9121 else if (TYPE_STUB_DECL (enumtype)) in start_enum()
9123 enumloc = DECL_SOURCE_LOCATION (TYPE_STUB_DECL (enumtype)); in start_enum()
9124 DECL_SOURCE_LOCATION (TYPE_STUB_DECL (enumtype)) = loc; in start_enum()
9127 if (C_TYPE_BEING_DEFINED (enumtype)) in start_enum()
9130 C_TYPE_BEING_DEFINED (enumtype) = 1; in start_enum()
[all …]
H A DChangeLog3783 (start_enum): Use the location of TYPE_STUB_DECL of enumtype.
/netbsd-src/external/mpl/bind/
H A Dbinclude4netbsd33 for i in enumclass.h enumtype.h rdatastruct.h
/netbsd-src/external/apache2/llvm/dist/clang/docs/tools/
H A Ddump_format_style.py81 def __init__(self, name, enumtype, comment, values): argument
85 self.type = enumtype
/netbsd-src/external/mpl/bind/dist/lib/isccfg/include/isccfg/
H A Dgrammar.h453 cfg_parse_enum_or_other(cfg_parser_t *pctx, const cfg_type_t *enumtype,
457 cfg_doc_enum_or_other(cfg_printer_t *pctx, const cfg_type_t *enumtype,
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/include/isccfg/
H A Dgrammar.h474 cfg_parse_enum_or_other(cfg_parser_t *pctx, const cfg_type_t *enumtype,
478 cfg_doc_enum_or_other(cfg_printer_t *pctx, const cfg_type_t *enumtype,
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A DMakefile.am8 include/dns/enumtype.h \
30 include/dns/enumtype.h: gen Makefile
H A DMakefile.in746 include/dns/enumtype.h \
2333 include/dns/enumtype.h: gen Makefile
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
H A DMakefile.in39 GENHEADERS = enumclass.h enumtype.h rdatastruct.h
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dinsertion.c321 int enumtype; member
339 enumstack[enumstack_offset].enumtype = current_enumtype; in start_enumerating()
354 current_enumtype = enumstack[enumstack_offset].enumtype; in stop_enumerating()
/netbsd-src/external/mpl/bind/dist/lib/isccfg/
H A Dparser.c1461 cfg_parse_enum_or_other(cfg_parser_t *pctx, const cfg_type_t *enumtype, in cfg_parse_enum_or_other()
1466 cfg_is_enum(TOKEN_STRING(pctx), enumtype->of)) in cfg_parse_enum_or_other()
1468 CHECK(cfg_parse_enum(pctx, enumtype, ret)); in cfg_parse_enum_or_other()
1477 cfg_doc_enum_or_other(cfg_printer_t *pctx, const cfg_type_t *enumtype, in cfg_doc_enum_or_other()
1483 * If othertype is cfg_type_void, it means that enumtype is in cfg_doc_enum_or_other()
1491 for (p = enumtype->of; *p != NULL; p++) { in cfg_doc_enum_or_other()
1458 cfg_parse_enum_or_other(cfg_parser_t * pctx,const cfg_type_t * enumtype,const cfg_type_t * othertype,cfg_obj_t ** ret) cfg_parse_enum_or_other() argument
1474 cfg_doc_enum_or_other(cfg_printer_t * pctx,const cfg_type_t * enumtype,const cfg_type_t * othertype) cfg_doc_enum_or_other() argument
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/
H A Dparser.c1657 cfg_parse_enum_or_other(cfg_parser_t *pctx, const cfg_type_t *enumtype, in cfg_parse_enum_or_other() argument
1662 cfg_is_enum(TOKEN_STRING(pctx), enumtype->of)) in cfg_parse_enum_or_other()
1664 CHECK(cfg_parse_enum(pctx, enumtype, ret)); in cfg_parse_enum_or_other()
1673 cfg_doc_enum_or_other(cfg_printer_t *pctx, const cfg_type_t *enumtype, in cfg_doc_enum_or_other() argument
1687 for (p = enumtype->of; *p != NULL; p++) { in cfg_doc_enum_or_other()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins.cc772 HOST_WIDE_INT actual, tree enumtype) in report_not_enum() argument
775 " a valid %qT value", actual, argno + 1, fndecl, enumtype); in report_not_enum()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins.cc772 HOST_WIDE_INT actual, tree enumtype) in report_not_enum() argument
775 " a valid %qT value", actual, argno + 1, fndecl, enumtype); in report_not_enum()
/netbsd-src/share/misc/
H A Dstyle237 enum enumtype {
/netbsd-src/external/mpl/dhcp/dist/
H A DRELNOTES331 was causing BIND9 build to not generate dns/enumclass.h and dns/enumtype.h.

12