Lines Matching defs:array

640 /// Getter for the map that associates the name of an array type to
647 /// Getter for the map that associates the name of an array type to
6953 /// Return the leaf element type of an array.
6955 /// If the element type is itself an array, then recursively return
6956 /// the element type of that array itself.
6958 /// @param type the array type to consider. If this is not an array
6961 /// @return the leaf element type of the array @p type, or, if it's
6962 /// not an array type, then just return @p.
6973 /// Return the leaf element type of an array.
6975 /// If the element type is itself an array, then recursively return
6976 /// the element type of that array itself.
6978 /// @param type the array type to consider. If this is not an array
6981 /// @return the leaf element type of the array @p type, or, if it's
6982 /// not an array type, then just return @p.
7229 /// Clone an array type.
7231 /// Note that the element type of the new array is shared witht the
7234 /// @param array the array type to clone.
7236 /// @return a newly built array type. Note that it needs to be added
7241 clone_array(const array_type_def_sptr& array)
7246 array->get_subranges().begin();
7247 i != array->get_subranges().end();
7251 (new array_type_def::subrange_type(array->get_environment(),
7265 (new array_type_def(array->get_element_type(),
7266 subranges, array->get_location()));
7320 /// Clone a typedef, an array or a qualified tree.
7322 /// @param type the typedef, array or qualified tree to clone. any
7326 /// array nor a qualified type.
7351 /// Clone a type tree made of an array or a typedef of array.
7357 /// @param t the array or typedef of qualified array to consider.
10681 /// Tests if the element of a given array is a qualified type.
10683 /// @param array the array type to consider.
10685 /// @return the qualified element of the array iff it's a qualified
10688 is_array_of_qualified_element(const array_type_def_sptr& array)
10690 if (!array)
10693 return is_qualified_type(array->get_element_type());
10696 /// Test if an array type is an array to a qualified element type.
10698 /// @param type the array type to consider.
10700 /// @return true the array @p type iff it's an array to a qualified
10705 if (array_type_def_sptr array = is_array_type(type))
10706 if (is_array_of_qualified_element(array))
10707 return array;
10712 /// Test if a type is a typedef of an array.
10716 /// we are looking at a typedef of a CV-qualified array, or at a
10717 /// typedef of a CV-qualified typedef of an array, this function will
10722 /// @return true if t is a typedef which underlying type is an array.
10723 /// That array might be either cv-qualified array or a typedef'ed
10724 /// array, or a combination of both.
11340 /// Lookup an array type from a translation unit.
11346 /// @param type_name the name of the array type to look for.
11350 /// @return the array type found or nil if no array type was found.
12033 /// Lookup a array type definition in all the translation units of a
12036 /// @param @param qn the fully qualified name of the array type to
12858 /// Look into a given corpus to find an array type which has a given
12866 /// @param qualified_name the qualified name of the array type to look
12871 /// @return the array type found.
12879 /// Look into a given corpus to find an array type which has the same
12880 /// qualified name as a given array type.
16968 /// @param lower_bound the lower bound of the array. This is
16971 /// @param upper_bound the upper bound of the array.
17000 /// @param lower_bound the lower bound of the array. This is
17003 /// @param upper_bound the upper bound of the array.
17030 /// @param upper_bound the upper bound of the array. The lower bound
17098 /// Note that a length of zero means the array has an infinite (or
17349 /// objects. Parsing of the array information always entails
17354 /// @param e_type the type of the elements contained in the array
17356 /// @param subs a vector of the array's subranges(dimensions)
17358 /// @param locus the source location of the array type definition.
17376 /// This constructor builds a temporary array that has no element type
17381 /// objects. Parsing of the array information always entails
17386 /// @param env the environment of the array type.
17388 /// @param subs a vector of the array's subranges(dimensions)
17390 /// @param locus the source location of the array type definition.
17406 /// Update the size of the array.
17408 /// This function computes the size of the array and sets it using
17436 /// @param a the array type to consider.
17452 o << "array ("
17565 /// @param l the first array of the comparison.
17567 /// @param r the second array of the comparison.
17607 /// Get the language of the array.
17609 /// @return the language of the array.
17640 /// Getter of the type of an array element.
17642 /// @return the type of an array element.
17647 /// Setter of the type of array element.
17650 /// re-compute the canonical type of the array, if one has already
17679 /// @return true if one of the sub-ranges of the array is infinite, or
17680 /// if the array has no sub-range at all, also meaning that the size
17681 /// of the array is infinite.
17716 /// Compute the qualified name of the array.
17798 /// Get the array's subranges