Lines Matching defs:parameter

1006 /* Create a parameter declarator with the indicated DECL_SPECIFIERS,
1014 cp_parameter_declarator *parameter;
1016 parameter = ((cp_parameter_declarator *)
1018 parameter->next = NULL;
1020 parameter->decl_specifiers = *decl_specifiers;
1022 clear_decl_specs (&parameter->decl_specifiers);
1023 parameter->declarator = declarator;
1024 parameter->default_argument = default_argument;
1025 parameter->ellipsis_p = false;
1027 return parameter;
1059 not declared with a parameter of type `void'.
1344 template-parameter-list. */
1347 /* TRUE if default arguments are allowed within a parameter list
1432 /* The number of template parameter lists that apply directly to the
1456 parsing or via a FLAGS parameter), then NULL_TREE is returned if
2798 /* Create the empty parameter list. */
2997 template-parameter-list now. */
8058 depends on a template-parameter is implicitly assumed to be a
8381 export [opt] template < template-parameter-list > declaration
8390 export [opt] template-parameter-list-seq
8392 export [opt] template-parameter-list-seq
8395 template-parameter-list-seq:
8396 template-parameter-list-seq [opt]
8397 template < template-parameter-list > */
8414 /* Parse a template-parameter-list.
8416 template-parameter-list:
8417 template-parameter
8418 template-parameter-list , template-parameter
8420 Returns a TREE_LIST. Each node represents a template parameter.
8430 tree parameter;
8434 /* Parse the template-parameter. */
8435 parameter = cp_parser_template_parameter (parser, &is_non_type);
8437 if (parameter != error_mark_node)
8439 parameter,
8453 /* Parse a template-parameter.
8455 template-parameter:
8456 type-parameter
8457 parameter-declaration
8460 the parameter. The TREE_PURPOSE is the default value, if any.
8462 iff this parameter is a non-type parameter. */
8471 /* Assume it is a type parameter or a template parameter. */
8475 /* If it is `class' or `template', we have a type-parameter. */
8479 type parameter or a non-type parameter. Consider:
8487 Here, the first parameter is a type parameter, and the second is
8488 a non-type parameter. We can tell by looking at the token after
8490 parameter. */
8499 parameter. */
8506 /* Otherwise, it is a non-type parameter.
8511 template-parameter, the first non-nested `>' is taken as the end
8512 of the template parameter-list rather than a greater-than
8527 /* Parse a type-parameter.
8529 type-parameter:
8534 template < template-parameter-list > class identifier [opt]
8535 template < template-parameter-list > class identifier [opt]
8540 the declaration of the parameter. */
8546 tree parameter;
8548 /* Look for a keyword to tell us what kind of parameter this is. */
8563 parameter. */
8569 /* Create the parameter. */
8570 parameter = finish_template_type_parm (class_type_node, identifier);
8585 /* Create the combined representation of the parameter and the
8587 parameter = build_tree_list (default_argument, parameter);
8599 /* Parse the template-parameter-list. */
8610 the end of the parameter-list. If the next token is a `,',
8611 then we are at the end of this parameter. */
8617 /* Treat invalid names as if the parameter were nameless. */
8624 /* Create the template parameter. */
8625 parameter = finish_template_template_parm (class_type_node,
8666 /* Create the combined representation of the parameter and the
8668 parameter = build_tree_list (default_argument, parameter);
8677 return parameter;
8893 explicit argument list, since the only allowed template parameter is
9166 the corresponding template-parameter.
9237 -- the name of a non-type template-parameter; or
9244 /* Look for a non-type template parameter. */
9485 /* We have processed another parameter list. */
9526 /* We're done with this parameter list. */
10993 /* Check that the number of template-parameter-lists is OK. */
11359 direct-declarator ( parameter-declaration-clause )
11367 ( parameter-declaration-clause )
11402 /* This is either a parameter-declaration-clause, or a
11406 parameter-declaration-clause, with an omitted
11409 template parameter `(T)' is a
11410 parameter-declaration-clause, and not a parenthesized
11413 We first try and parse a parameter-declaration-clause,
11417 parameter-declaration-clause, even when FIRST is
11437 Thus again, we try a parameter-declaration-clause, and if
11447 parameter-declaration-clause. (It is invalid to
11464 /* Inside the function parameter list, surrounding
11465 template-parameter-lists do not apply. */
11470 /* Parse the parameter-declaration-clause. */
11500 /* Any subsequent parameter lists are to do with
12080 /* Parse a parameter-declaration-clause.
12082 parameter-declaration-clause:
12083 parameter-declaration-list [opt] ... [opt]
12084 parameter-declaration-list , ...
12086 Returns a representation for the parameter declarations. A return
12087 value of NULL indicates a parameter-declaration-clause consisting
12100 /* Check for trivial parameter-declaration-clauses. */
12129 /* Parse the parameter-declaration-list. */
12132 parameter-declaration-list, then the entire
12133 parameter-declaration-clause is erroneous. */
12160 /* Finish the parameter list. */
12167 /* Parse a parameter-declaration-list.
12169 parameter-declaration-list:
12170 parameter-declaration
12171 parameter-declaration-list , parameter-declaration
12173 Returns a representation of the parameter-declaration-list, as for
12197 cp_parameter_declarator *parameter;
12199 /* Parse the parameter. */
12200 parameter
12205 /* If a parse error occurred parsing the parameter declaration,
12206 then the entire parameter-declaration-list is erroneous. */
12207 if (!parameter)
12213 /* Add the new parameter to the list. */
12214 *tail = parameter;
12215 tail = &parameter->next;
12223 /* The parameter-declaration-list is complete. */
12252 /* However, a parameter-declaration of the form
12254 parameter "f") can also be interpreted as an
12277 /* Parse a parameter declaration.
12279 parameter-declaration:
12285 If TEMPLATE_PARM_P is TRUE, then this parameter-declaration
12286 declares a template parameter. (In that case, a non-nested `>'
12290 Returns a representation of the parameter, or NULL if an error
12307 /* In a template parameter, `>' is not an operator.
12312 template-parameter, the first non-nested `>' is taken as the end
12313 of the template parameter-list rather than a greater-than
12317 /* Type definitions may not appear in parameter types. */
12320 = "types may not be defined in parameter types";
12365 function-type (taking a "char" as a parameter) or a cast
12385 of the parameter, not to the default argument. */
12525 warning (0, "deprecated use of default argument for parameter of non-function");
12978 /* Inside the class, surrounding template-parameter-lists do not
13149 /* Assume no template parameter lists will be used in defining the
14158 depends on a template-parameter is implicitly assumed to be a
14420 error ("invalid catch parameter");
14910 might, for example, be a template type parameter. */
15094 /* If too many, or too few, template-parameter lists apply to the
15177 /* If there are more template classes than parameter lists, we have
15183 error ("too few template-parameter-lists");
15186 /* If there are the same number of template classes and parameter
15194 /* Otherwise, there are too many template parameter lists. We have
15198 error ("too many template-parameter-lists");
15314 to begin the parameter-declaration-clause, followed by either a
15321 takes one parameter (of type `int') and returns a value of type
15328 /* A parameter declaration begins with a decl-specifier,
15357 /* Inside the constructor parameter list, surrounding
15358 template-parameter-lists do not apply. */
15472 /* Inside the function, surrounding template-parameter-lists do not
15545 /* We cannot perform access checks on the template parameter
15552 parameter, issue an error message here. */
15567 /* Get the deferred access checks from the parameter list. These
15575 /* We just processed one more parameter list. */
15606 /* We are done with the current parameter list. */
15632 /* Perform the deferred access checks from a template-parameter-list.
16031 /* FN is a FUNCTION_DECL which may contains a parameter with an