}
bool
-vrange::supports_type_p (tree) const
+vrange::supports_type_p (const_tree) const
{
return false;
}
}
bool
-irange::supports_type_p (tree type) const
+irange::supports_type_p (const_tree type) const
{
return supports_p (type);
}
}
bool
-frange::supports_type_p (tree type) const
+frange::supports_type_p (const_tree type) const
{
return supports_p (type);
}
virtual void accept (const class vrange_visitor &v) const = 0;
virtual void set (tree, tree, value_range_kind = VR_RANGE);
virtual tree type () const;
- virtual bool supports_type_p (tree type) const;
+ virtual bool supports_type_p (const_tree type) const;
virtual void set_varying (tree type);
virtual void set_undefined ();
virtual bool union_ (const vrange &);
virtual void set_undefined () override;
// Range types.
- static bool supports_p (tree type);
- virtual bool supports_type_p (tree type) const override;
+ static bool supports_p (const_tree type);
+ virtual bool supports_type_p (const_tree type) const override;
virtual tree type () const override;
// Iteration over sub-ranges.
public:
frange ();
frange (const frange &);
- static bool supports_p (tree type)
+ static bool supports_p (const_tree type)
{
// Disabled until floating point range-ops come live.
return 0 && SCALAR_FLOAT_TYPE_P (type);
virtual void set_undefined () override;
virtual bool union_ (const vrange &) override;
virtual bool intersect (const vrange &) override;
- virtual bool supports_type_p (tree type) const override;
+ virtual bool supports_type_p (const_tree type) const override;
virtual void accept (const vrange_visitor &v) const override;
frange& operator= (const frange &);
bool operator== (const frange &) const;
operator vrange &();
operator const vrange &() const;
void dump (FILE *) const;
- static bool supports_type_p (tree type);
+ static bool supports_type_p (const_tree type);
// Convenience methods for vrange compatability.
void set (tree min, tree max, value_range_kind kind = VR_RANGE)
// Return TRUE if TYPE is supported by the vrange infrastructure.
inline bool
-Value_Range::supports_type_p (tree type)
+Value_Range::supports_type_p (const_tree type)
{
return irange::supports_p (type) || frange::supports_p (type);
}
}
inline bool
-irange::supports_p (tree type)
+irange::supports_p (const_tree type)
{
return INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type);
}