Lines Matching defs:parameter
383 /// @param path the output parameter where this function sets the
386 /// @param line the output parameter where this function sets the
389 /// @param column the ouptut parameter where this function sets the
3498 /// variadic function parameter.
3501 /// type of a variadic function parameter.
3508 intern("variadic parameter type"),
3633 /// Test if a type is a variadic parameter type as defined in the
3638 /// @return true iff @p t is a variadic parameter type as defined in
3648 /// Test if a type is a variadic parameter type as defined in the
3653 /// @return true iff @p t is a variadic parameter type as defined in
3745 /// @param first_corpus output parameter that is set to the corpus of
3748 /// @param second_corpus output parameter that is set to the corpus of
4825 /// In other words if the argument for this parameter is true then the
6036 /// @param offset out parameter. This parameter is set by the
6591 (new function_decl::parameter(typ,
6618 (new function_decl::parameter(typ,
6777 /// argument to this parameter will be edited to remove redundant
9790 /// Tests whether a decl is a template parameter.
9794 /// @return true iff decl is a template parameter.
9838 function_decl::parameter*
9841 return dynamic_cast<function_decl::parameter*>
9853 {return dynamic_pointer_cast<function_decl::parameter>(tod);}
10636 /// Tests whether a decl is a template parameter composition type.
10640 /// @return true iff decl is a template parameter composition type.
10768 /// template template parameter.
10790 /// In that case when called with with parameter @p begin set to 0, no
10804 /// @param delim_pos out parameter. Is set to the position of the
13844 parm.reset(new function_decl::parameter(parm_type,
13910 /// Return either the type given in parameter if it's non-null, or the
14554 /// should set this parameter to "false".
14759 /// @param modifiers out parameter. It's set by this function to the
14787 /// @param base out parameter. This is set to the resulting base type
14822 /// @param base out parameter. Is set by this function to the base
14825 /// @param modifiers out parameter If set by this function to the
15218 /// @param qualified_name the output parameter to hold the resulting
15233 /// @param qualified_name the output parameter to hold the resulting
15275 /// In other words if the argument for this parameter is true then the
15501 /// In other words if the argument for this parameter is true then the
15853 /// @param qualified_name the output parameter to hold the resulting
16321 /// @param qn output parameter. The resulting qualified name.
16702 /// @param qn output parameter. Is set to the newly-built qualified
16745 /// In other words if the argument for this parameter is true then the
17277 /// In other words if the argument for this parameter is true then the
17484 /// In other words if the argument for this parameter is true then the
17705 /// @param qn output parameter. Is set to the newly-built qualified
17887 /// In other words if the argument for this parameter is true then the
18686 /// In other words if the argument for this parameter is true then the
19130 /// In other words if the argument for this parameter is true then the
19294 /// of parameters (where each parameter also carries the name of the
19295 /// parameter and its source location) to try and provide better
19321 // If the first parameter is artificial, then it certainly
19323 // parameter is the implicit this pointer. In that case, set
19324 // the index of that implicit parameter to zero. Otherwise,
19325 // the index of the first parameter starts at one.
19348 /// A constructor for a function_type that takes no parameter and
19392 /// Get the Ith parameter of the vector of parameters of the current
19395 /// Note that the first parameter is at index 0. That parameter is
19396 /// the first parameter that comes after the possible implicit "this"
19397 /// parameter, when the current instance @ref function_type is for a
19399 /// function_type is for a non-member function, the parameter at index
19400 /// 0 is the first parameter of the function.
19403 /// @param i the index of the parameter to return. If i is greater
19404 /// than the index of the last parameter, then this function returns
19405 /// an empty parameter (smart) pointer.
19407 /// @return the @p i th parameter that is not implicit.
19438 // If the first parameter is artificial, then it certainly
19440 // parameter is the implicit this pointer. In that case, set
19441 // the index of that implicit parameter to zero. Otherwise,
19442 // the index of the first parameter starts at one.
19448 /// Append a new parameter to the vector of parameters of the current
19451 /// @param parm the parameter to append.
19587 // TODO: We should also do this for parameter types, or rather,
19617 vector<shared_ptr<function_decl::parameter> >::const_iterator i,j;
19663 /// Get the first parameter of the function.
19665 /// If the function is a non-static member function, the parameter
19666 /// returned is the first one following the implicit 'this' parameter.
19668 /// @return the first non implicit parameter of the function.
19685 /// Get the first parameter of the function.
19688 /// parameter returned is the implicit 'this' parameter.
19690 /// @return the first parameter of the function.
19708 /// set this parameter to 'false'.
19771 /// In other words if the argument for this parameter is true then the
19999 /// In other words if the argument for this parameter is true then the
20110 /// type of this parameter should be 'pointer to function_type'
20146 /// In other words if the argument for this parameter is true then the
20195 /// In other words if the argument for this parameter is true then the
20223 // Skip the first parameter if this is a method.
20256 /// Getter for the first non-implicit parameter of a function decl.
20258 /// If the function is a non-static member function, the parameter
20259 /// returned is the first one following the implicit 'this' parameter.
20352 const std::vector<shared_ptr<function_decl::parameter> >&
20356 /// Append a parameter to the type of this function.
20358 /// @param parm the parameter to append.
20360 function_decl::append_parameter(shared_ptr<parameter> parm)
20367 function_decl::append_parameters(std::vector<shared_ptr<parameter> >& parms)
20369 for (std::vector<shared_ptr<parameter> >::const_iterator i = parms.begin();
20727 // <function_decl::parameter definitions>
20729 struct function_decl::parameter::priv
20747 };// end struct function_decl::parameter::priv
20749 function_decl::parameter::parameter(const type_base_sptr type,
20762 function_decl::parameter::parameter(const type_base_sptr type,
20777 function_decl::parameter::parameter(const type_base_sptr type,
20791 function_decl::parameter::parameter(const type_base_sptr type,
20802 function_decl::parameter::~parameter() = default;
20805 function_decl::parameter::get_type()const
20808 /// @return a copy of the type name of the parameter.
20810 function_decl::parameter::get_type_name() const
20827 /// parameter.
20829 function_decl::parameter::get_type_pretty_representation() const
20844 /// Get a name uniquely identifying the parameter in the function.
20848 function_decl::parameter::get_name_id() const
20854 o << "parameter-" << get_index();
20860 function_decl::parameter::get_index() const
20864 function_decl::parameter::set_index(unsigned i)
20869 function_decl::parameter::get_variadic_marker() const
20872 /// Compares two instances of @ref function_decl::parameter.
20892 equals(const function_decl::parameter& l,
20893 const function_decl::parameter& r,
20935 function_decl::parameter::operator==(const parameter& o) const
20939 function_decl::parameter::operator==(const decl_base& o) const
20941 const function_decl::parameter* p =
20942 dynamic_cast<const function_decl::parameter*>(&o);
20945 return function_decl::parameter::operator==(*p);
20948 /// Non-member equality operator for @ref function_decl::parameter.
20966 /// Non-member inequality operator for @ref function_decl::parameter.
20986 function_decl::parameter::traverse(ir_node_visitor& v)
21006 function_decl::parameter::get_hash() const
21008 function_decl::parameter::hash hash_fn_parm;
21012 /// Compute the qualified name of the parameter.
21021 function_decl::parameter::get_qualified_name(interned_string& qualified_name,
21026 /// current function parameter.
21033 /// In other words if the argument for this parameter is true then the
21039 /// function parameter.
21041 function_decl::parameter::get_pretty_representation(bool internal,
21064 // </function_decl::parameter definitions>
22283 /// sets the canonical type of its second parameter to the canonical
22284 /// type of the first parameter.
22656 /// In other words if the argument for this parameter is true then the
23251 /// virtual table. This parameter is taken into account only if @p
24490 /// In other words if the argument for this parameter is true then the
24785 /// Add a new template parameter to the current instance of @ref
24788 /// @param p the new template parameter to add.
24917 // parameter with another one ...
24956 /// @param index the index the type template parameter.
24960 /// @param name the name of the template parameter.
24963 /// parameter.
25033 /// @param index the index of the template parameter.
25036 /// holds this parameter parameter.
25038 /// @param name the name of the template parameter.
25040 /// @param type the type of the template parameter.
25043 /// parameter.
25057 /// Getter for the type of the template parameter.
25059 /// @return the type of the template parameter.
25115 /// @param index the index of the template parameter.
25119 /// @param name the name of the template parameter.
25122 /// parameter.
25210 /// @param tdecl the enclosing template parameter that owns the
25762 else if (function_decl::parameter* p = is_function_parameter(d))
25831 /// parameter types.
26222 /// Get the function parameter designated by its index.
26224 /// Note that the first function parameter has index 0.
26228 /// @param parm_index the index of the function parameter to get.
26230 /// @return the function parameter designated by its index, of NULL if
26231 /// no function parameter with that index was found.
26232 const function_decl::parameter*
26502 ir_node_visitor::visit_begin(function_decl::parameter* d)
26506 ir_node_visitor::visit_end(function_decl::parameter* d)