diff options
author | Martin Liska <mliska@suse.cz> | 2022-08-31 14:19:24 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-08-31 14:20:09 +0200 |
commit | 048d3ad731c59a987b3d56e0aa890cc0114efe09 (patch) | |
tree | 503485bc7323ef38d2688aba29f638eaad7d2617 | |
parent | cc95bca72f6e7f54c4adb6d332f881c277746366 (diff) | |
download | gcc-048d3ad731c59a987b3d56e0aa890cc0114efe09.zip gcc-048d3ad731c59a987b3d56e0aa890cc0114efe09.tar.gz gcc-048d3ad731c59a987b3d56e0aa890cc0114efe09.tar.bz2 |
fix clang warnings (-Winconsistent-missing-override)
gcc/ChangeLog:
* value-range.h: Add more override keywords.
-rw-r--r-- | gcc/value-range.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/value-range.h b/gcc/value-range.h index b25dd30..f7f3665 100644 --- a/gcc/value-range.h +++ b/gcc/value-range.h @@ -350,10 +350,10 @@ public: virtual bool singleton_p (tree *result = NULL) const override; virtual bool supports_type_p (const_tree type) const override; virtual void accept (const vrange_visitor &v) const override; - virtual bool zero_p () const; - virtual bool nonzero_p () const; - virtual void set_nonzero (tree type); - virtual void set_zero (tree type); + virtual bool zero_p () const override; + virtual bool nonzero_p () const override; + virtual void set_nonzero (tree type) override; + virtual void set_zero (tree type) override; virtual void set_nonnegative (tree type) override; frange& operator= (const frange &); bool operator== (const frange &) const; |