aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2022-06-27 17:00:34 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2022-06-27 17:00:34 -0400
commit26f77c4d19b827f3a2a8a9323df8e182e1389cb9 (patch)
tree34c4715289d2b7bd46c08eca7265916bfc9304e6 /gcc/gimple-range-cache.h
parent0a8333ade9a03fc203055e69c05008d9733e9e9d (diff)
downloadgcc-26f77c4d19b827f3a2a8a9323df8e182e1389cb9.zip
gcc-26f77c4d19b827f3a2a8a9323df8e182e1389cb9.tar.gz
gcc-26f77c4d19b827f3a2a8a9323df8e182e1389cb9.tar.bz2
Add 'final' and 'override' in various places
gcc/cp/ChangeLog: * cxx-pretty-print.h: Add "final" and "override" to various vfunc implementations, removing redundant "virtual" as appropriate. * module.cc: Likewise. gcc/ChangeLog: * genmatch.cc: Add "final" and "override" to various vfunc implementations, removing redundant "virtual" as appropriate. * gensupport.cc: Likewise. * gimple-range-cache.h: Likewise. * ipa-icf-gimple.h: Likewise. * ipa-icf.h: Likewise. * read-md.h: Likewise. * read-rtl-function.cc: Likewise. * tree-ssa-loop-ch.cc: Likewise. * tree-ssa-sccvn.cc: Likewise. gcc/lto/ChangeLog: * lto-dump.cc: Add "final" and "override" to various vfunc implementations, removing redundant "virtual" as appropriate. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/gimple-range-cache.h')
-rw-r--r--gcc/gimple-range-cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-range-cache.h b/gcc/gimple-range-cache.h
index 1e4b5b3..a784eba 100644
--- a/gcc/gimple-range-cache.h
+++ b/gcc/gimple-range-cache.h
@@ -77,8 +77,8 @@ public:
ranger_cache (int not_executable_flag, bool use_imm_uses);
~ranger_cache ();
- virtual bool range_of_expr (vrange &r, tree name, gimple *stmt);
- virtual bool range_on_edge (vrange &r, edge e, tree expr);
+ bool range_of_expr (vrange &r, tree name, gimple *stmt) final override;
+ bool range_on_edge (vrange &r, edge e, tree expr) final override;
bool block_range (vrange &r, basic_block bb, tree name, bool calc = true);
bool get_global_range (vrange &r, tree name) const;