public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2307] fix clang warnings (-Winconsistent-missing-override)
@ 2022-08-31 12:20 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-08-31 12:20 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:048d3ad731c59a987b3d56e0aa890cc0114efe09
commit r13-2307-g048d3ad731c59a987b3d56e0aa890cc0114efe09
Author: Martin Liska <mliska@suse.cz>
Date: Wed Aug 31 14:19:24 2022 +0200
fix clang warnings (-Winconsistent-missing-override)
gcc/ChangeLog:
* value-range.h: Add more override keywords.
Diff:
---
gcc/value-range.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/value-range.h b/gcc/value-range.h
index b25dd30d88a..f7f3665be07 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-31 12:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 12:20 [gcc r13-2307] fix clang warnings (-Winconsistent-missing-override) Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).