Searched refs:declarator (Results 1 - 25 of 32) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dconv7.C44 const IdlDeclarator& declarator = *declIter; local
/haiku-buildtools/legacy/gcc/gcc/cp/
H A Dfriend.c333 do_friend (ctype, declarator, decl, parmdecls, attrlist,
335 tree ctype, declarator, decl, parmdecls, attrlist;
346 if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR)
348 declarator = TREE_OPERAND (declarator, 0);
349 if (TREE_CODE (declarator) == LOOKUP_EXPR)
350 declarator = TREE_OPERAND (declarator, 0);
351 if (is_overloaded_fn (declarator))
352 declarator
[all...]
H A Ddecl.c484 /* Parsing a function declarator leaves a list of parameter names
489 /* Parsing a function declarator leaves here a chain of structure
494 /* After parsing the declarator that starts a function definition,
7115 /* Make sure that a declaration with no declarator is well-formed, i.e.
7225 because there is no declarator after the union, the parser
7254 /* Decode a declarator in an ordinary declaration or data definition.
7274 start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
7275 tree declarator, declspecs;
7304 decl = grokdeclarator (declarator, declspecs, NORMAL, initialized,
7504 = build_min_nt (DECL_STMT, copy_to_permanent (declarator),
[all...]
H A Dexcept.c577 expand_start_catch_block (declspecs, declarator)
578 tree declspecs, declarator;
586 decl = grokdeclarator (declarator, declspecs, CATCHPARM,
589 decl = build_min_nt (DECL_STMT, copy_to_permanent (declarator),
600 process_start_catch_block (declspecs, declarator);
610 process_start_catch_block (declspecs, declarator)
611 tree declspecs, declarator;
624 decl = grokdeclarator (declarator, declspecs, CATCHPARM, 1, NULL_TREE);
H A Dparse.y206 %type <ttype> declarator notype_declarator after_type_declarator
313 parse_decl(declarator, specs_attrs, attributes, initialized, decl)
314 tree declarator;
334 *decl = start_decl (declarator, current_declspecs, initialized,
692 typed_declspecs declarator
737 | typed_declspecs declarator
874 | TEMPLATE begin_explicit_instantiation typed_declspecs declarator
889 declarator
1019 type_specifier_seq declarator maybeasm maybe_attribute '='
1363 /* Provide support for '(' attributes '*' declarator ')'
1667 declarator: label
[all...]
H A Dsemantics.c1106 begin_function_definition (decl_specs, declarator)
1108 tree declarator;
1113 if (!start_function (specs, declarator, attrs, 0))
1124 /* Begin a constructor declarator of the form `SCOPE::NAME'. Returns
1137 /* Finish an init-declarator. Returns a DECL. */
1140 finish_declarator (declarator, declspecs, attributes,
1142 tree declarator;
1148 return start_decl (declarator, declspecs, initialized, attributes,
1213 /* We mark the PARMS as a parmlist so that declarator processing can
1579 /* In a declarator fo
[all...]
H A Ddecl2.c1643 /* Process the specs, declarator (NULL if omitted) and width (NULL if omitted)
1664 grokfield (declarator, declspecs, init, asmspec_tree, attrlist)
1665 tree declarator, declspecs, init, asmspec_tree, attrlist;
1672 if (init == NULL_TREE && declarator != NULL_TREE
1673 && TREE_CODE (declarator) == CALL_EXPR
1674 && TREE_OPERAND (declarator, 0)
1675 && (TREE_CODE (TREE_OPERAND (declarator, 0)) == IDENTIFIER_NODE
1676 || TREE_CODE (TREE_OPERAND (declarator, 0)) == SCOPE_REF)
1677 && parmlist_is_exprlist (TREE_OPERAND (declarator, 1)))
1679 init = TREE_OPERAND (declarator,
[all...]
H A Dpt.c1167 check_explicit_specialization (declarator, decl, template_count, flags)
1168 tree declarator;
1272 else if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR)
1286 declarator);
1310 /* Make sure that the declarator is a TEMPLATE_ID_EXPR. */
1311 if (TREE_CODE (declarator) != TEMPLATE_ID_EXPR)
1315 my_friendly_assert (TREE_CODE (declarator) == IDENTIFIER_NODE,
1322 declarator =
1326 if (declarator == error_mark_node)
1355 else if (TREE_CODE (TREE_OPERAND (declarator,
[all...]
/haiku-buildtools/gcc/gcc/cp/
H A Dfriend.c429 do_friend (tree ctype, tree declarator, tree decl, argument
450 if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR)
452 declarator = TREE_OPERAND (declarator, 0);
453 if (is_overloaded_fn (declarator))
454 declarator = DECL_NAME (get_first_fn (declarator));
488 if (flags == NO_SPECIAL && declarator == cname)
H A Dparser.c552 cp_debug_print_flag (file, "Parsing a declarator",
1372 /* An erroneous declarator. */
1379 /* Alloc BYTES from the declarator memory pool. */
1387 /* Allocate a declarator of the indicated KIND. Clear fields that are
1393 cp_declarator *declarator;
1395 declarator = (cp_declarator *) alloc_declarator (sizeof (cp_declarator));
1396 declarator->kind = kind;
1397 declarator->attributes = NULL_TREE;
1398 declarator->std_attributes = NULL_TREE;
1399 declarator
1391 cp_declarator *declarator; local
1414 cp_declarator *declarator; local
1450 cp_declarator *declarator; local
1478 cp_declarator *declarator; local
1507 cp_declarator *declarator; local
1541 cp_declarator *declarator; local
1569 cp_declarator *declarator; local
1589 declarator_can_be_parameter_pack(cp_declarator *declarator) argument
1623 make_parameter_declarator(cp_decl_specifier_seq *decl_specifiers, cp_declarator *declarator, tree default_argument) argument
1646 function_declarator_p(const cp_declarator *declarator) argument
2751 cp_parser_check_for_definition_in_return_type(cp_declarator *declarator, tree type, location_t type_location) argument
7607 cp_declarator *declarator; local
7689 cp_declarator *declarator; local
7718 cp_declarator *declarator = NULL; local
9433 cp_declarator* declarator; local
10321 cp_declarator *declarator; local
12523 cp_declarator *declarator; local
12592 cp_declarator *declarator; local
14510 cp_declarator *declarator; local
16537 cp_declarator *declarator; local
16961 cp_declarator *declarator; local
17397 cp_declarator *declarator; local
17499 cp_declarator *declarator = NULL; local
18365 cp_parser_late_return_type_opt(cp_parser* parser, cp_declarator *declarator, cp_cv_quals quals) argument
18980 cp_declarator *declarator; local
20987 cp_declarator *declarator; local
21804 cp_declarator *declarator; local
23079 cp_parser_check_declarator_template_parameters(cp_parser* parser, cp_declarator *declarator, location_t declarator_location) argument
23125 cp_parser_check_template_parameters(cp_parser* parser, unsigned num_templates, location_t location, cp_declarator *declarator) argument
23384 cp_parser_function_definition_from_specifiers_and_declarator(cp_parser* parser, cp_decl_specifier_seq *decl_specifiers, tree attributes, const cp_declarator *declarator) argument
23959 cp_parser_save_member_function_body(cp_parser* parser, cp_decl_specifier_seq *decl_specifiers, cp_declarator *declarator, tree attributes) argument
26672 cp_declarator *declarator = NULL; local
27249 cp_declarator *declarator; local
30281 cp_declarator *declarator; local
[all...]
H A Dcxx-pretty-print.h51 void declarator (tree);
H A Ddecl.c1507 bearing on this declarator. */
4459 /* Make sure that a declaration with no declarator is well-formed, i.e.
4508 /* 7/3 In a simple-declaration, the optional init-declarator-list
4625 because there is no declarator after the union, the parser
4633 tree decl = grokdeclarator (/*declarator=*/NULL,
4647 const cp_declarator *declarator,
4656 type = grokdeclarator (declarator, type_specifiers, context, 0, &attrs);
4692 start_decl (const cp_declarator *declarator,
4714 decl = grokdeclarator (declarator, declspecs, NORMAL, initialized,
7690 tree declarator,
4635 groktypename(cp_decl_specifier_seq *type_specifiers, const cp_declarator *declarator, bool is_template_arg) argument
4681 start_decl(const cp_declarator *declarator, cp_decl_specifier_seq *declspecs, int initialized, tree attributes, tree prefix_attributes, tree *pushed_scope_p) argument
7673 grokfndecl(tree ctype, tree type, tree declarator, tree parms, tree orig_declarator, int virtualp, enum overload_flags flags, cp_cv_quals quals, cp_ref_qualifier rqual, tree raises, int check, int friendp, int publicp, int inlinep, bool deletedp, special_function_kind sfk, bool funcdef_flag, int template_count, tree in_namespace, tree* attrlist, location_t location) argument
8703 get_scope_of_declarator(const cp_declarator *declarator) argument
8927 grokdeclarator(const cp_declarator *declarator, cp_decl_specifier_seq *declspecs, enum decl_context decl_context, int initialized, tree* attrlist) argument
13773 start_function(cp_decl_specifier_seq *declspecs, const cp_declarator *declarator, tree attrs) argument
14445 grokmethod(cp_decl_specifier_seq *declspecs, const cp_declarator *declarator, tree attrlist) argument
[all...]
/haiku-buildtools/legacy/gcc/gcc/java/
H A Dparse-scan.c155 /* Keep track of number of bracket pairs after a variable declarator
182 struct method_declarator *declarator; member in union:__anon3422
1994 report_main_declaration (yyvsp[-1].declarator);
2003 yyval.declarator = d;
2011 yyval.declarator = d;
2404 report_main_declaration (declarator)
2405 struct method_declarator *declarator;
2411 && !strcmp (declarator->method_name, "main")
2412 && declarator->args
2413 && declarator
[all...]
H A Dparse-scan.y75 /* Keep track of number of bracket pairs after a variable declarator
102 struct method_declarator *declarator;
166 %type <declarator> method_declarator
1150 report_main_declaration (declarator)
1151 struct method_declarator *declarator;
1157 && !strcmp (declarator->method_name, "main")
1158 && declarator->args
1159 && declarator->args [0] == '['
1160 && (! strcmp (declarator->args+1, "String")
1161 || ! strcmp (declarator
[all...]
/haiku-buildtools/gcc/gcc/c/
H A Dc-decl.c4050 parameter declarator. In that case we still don't have
4331 /* Construct an array declarator. LOC is the location of the
4338 false otherwise. The field for the contained declarator is left to
4346 struct c_declarator *declarator = XOBNEW (&parser_obstack,
4348 declarator->id_loc = loc;
4349 declarator->kind = cdk_array;
4350 declarator->declarator = 0;
4351 declarator->u.array.dimen = expr;
4354 declarator
4324 struct c_declarator *declarator = XOBNEW (&parser_obstack, local
4474 start_decl(struct c_declarator *declarator, struct c_declspecs *declspecs, bool initialized, tree attributes) argument
5372 grokdeclarator(const struct c_declarator *declarator, struct c_declspecs *declspecs, enum decl_context decl_context, bool initialized, tree *width, tree *decl_attrs, tree *expr, bool *expr_const_operands, enum deprecated_states deprecated_state) argument
7334 grokfield(location_t loc, struct c_declarator *declarator, struct c_declspecs *declspecs, tree width, tree *decl_attrs) argument
8277 start_function(struct c_declspecs *declspecs, struct c_declarator *declarator, tree attributes) argument
9344 build_c_parm(struct c_declspecs *specs, tree attrs, struct c_declarator *declarator) argument
[all...]
H A Dc-tree.h218 /* This enum lists all the possible declarator specifiers, storage
220 enumerator per possible declarator specifier in the struct
354 /* Parenthesized declarator with nested attributes. */
366 /* Information about the parameters in a function declarator. */
387 /* A declarator. */
389 /* The kind of declarator. */
392 /* Except for cdk_id, the contained declarator. For cdk_id, NULL. */
393 struct c_declarator *declarator; member in struct:c_declarator
396 declarator. */
424 /* The declarator
425 struct c_declarator *declarator; member in struct:c_type_name
435 struct c_declarator *declarator; member in struct:c_parm
[all...]
H A Dc-parser.c564 /* Could be parsing a nonabstract declarator. Only treat an identifier
1147 /* Possibly kinds of declarator to parse. */
1149 /* A normal declarator with an identifier. */
1151 /* An abstract declarator (maybe empty). */
1153 /* A parameter declarator: may be either, but after a type name does
1453 any, and the first declarator. */
1480 declaration-specifiers init-declarator-list[opt] ;
1484 declaration-specifiers[opt] declarator declaration-list[opt]
1491 init-declarator-list:
1492 init-declarator
1697 struct c_declarator *declarator; local
2958 struct c_declarator *declarator; local
3364 struct c_declarator *declarator; local
3649 struct c_declarator *declarator; local
4090 struct c_declarator *declarator; local
[all...]
/haiku-buildtools/gcc/gcc/
H A Dgengtype-parse.c89 "an array declarator",
485 declarator. The only kinds that are actually used are those that
655 Subroutine of declarator, mutually recursive with inner_declarator;
664 /* The first token in a direct-declarator must be an ID, a
681 /* If the declarator starts with a '(', we have three options. We
705 at a regular data declarator. */
720 /* The difference between inner_declarator and declarator is in the
730 declarator() creates pointers before recursing (it is actually
761 /* declarator: '*'+ direct_declarator
773 declarator (type_
771 declarator (type_p ty, const char **namep, options_p *optsp, function
[all...]
/haiku-buildtools/gcc/gcc/c-family/
H A Dc-pretty-print.h75 virtual void declarator (tree);
H A Dc-pretty-print.c463 remaining part is done by declarator() or abstract_declarator(). */
531 declaration-specifiers declarator
532 declaration-specifiers abstract-declarator(opt) */
553 pp->declarator (parms);
561 /* abstract-declarator:
563 pointer(opt) direct-abstract-declarator */
579 /* direct-abstract-declarator:
580 ( abstract-declarator )
581 direct-abstract-declarator(opt) [ assignment-expression(opt) ]
582 direct-abstract-declarator(op
754 c_pretty_printer::declarator (tree t) function in class:c_pretty_printer
[all...]
/haiku-buildtools/legacy/gcc/gcc/
H A Dc-decl.c244 /* Parsing a function declarator leaves a list of parameter names
249 /* Parsing a function declarator leaves here a chain of structure
254 /* After parsing the declarator that starts a function definition,
2551 /* Don't warn about the parm names in function declarator
2552 within a function declarator.
2554 declarator in a declaration, as opposed to a definition,
3766 /* Return a PARM_DECL node for a given pair of specs and declarator. */
3779 /* Decode a declarator in an ordinary declaration or data definition.
3799 start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
3800 tree declarator, declspec
[all...]
H A Dc-parse.y181 %type <ttype> declarator
320 typed_declspecs setspecs declarator
333 | typed_declspecs setspecs declarator error
1019 declarator maybeasm maybe_attribute '='
1027 | declarator maybeasm maybe_attribute
1175 declarator
1220 /* Any kind of declarator (thus, all declarators allowed
1223 declarator:
1228 /* A declarator that is allowed only after an explicit typespec. */
1246 declarator
1217 declarator: label
[all...]
H A Dc-parse.in193 %type <ttype> declarator
361 typed_declspecs setspecs declarator
374 | typed_declspecs setspecs declarator error
1185 declarator maybeasm maybe_attribute '='
1193 | declarator maybeasm maybe_attribute
1343 declarator
1388 /* Any kind of declarator (thus, all declarators allowed
1391 declarator:
1396 /* A declarator that is allowed only after an explicit typespec. */
1414 declarator
[all...]
/haiku-buildtools/legacy/gcc/gcc/objc/
H A Dobjc-parse.y159 %type <ttype> declarator
310 typed_declspecs setspecs declarator
323 | typed_declspecs setspecs declarator error
1114 declarator maybeasm maybe_attribute '='
1122 | declarator maybeasm maybe_attribute
1266 declarator
1311 /* Any kind of declarator (thus, all declarators allowed
1314 declarator:
1319 /* A declarator that is allowed only after an explicit typespec. */
1337 declarator
1308 declarator: label
[all...]
H A Dobjc-act.c741 define_decl (declarator, declspecs)
742 tree declarator;
745 tree decl = start_decl (declarator, declspecs, 0, NULL_TREE, NULL_TREE);
4672 the C equivalent parameter declarator.
5816 add_instance_variable (class, public, declarator, declspecs, width)
5819 tree declarator;
5825 raw_decl = build_tree_list (declspecs, declarator);
5833 declarator, declspecs, width);
7071 /* Unhook: restore the abstract declarator. */
7212 /* Check the declarator portio
7931 tree declarator; /* "array_ref", "indirect_ref", "call_expr"... */ local
7949 tree declarator; /* "array_type", "function_type", "pointer_type". */ local
[all...]

Completed in 677 milliseconds

12