[COMMITTED 0/3] Add override keyword where it is missing
Filip Kastl
fkastl@suse.cz
Wed Oct 7 14:22:26 GMT 2026
I found some places in GCC's codebase where Clang reports
-Winconsistent-missing-override. This patch series adds the corresponding
override keywords.
Although this shouldn't have any effect on functionality, I at least built GCC
(without bootstrap) with these patches to be sure I didn't accidentally break
build.
I pushed this patch series as obvious.
Filip Kastl (3):
analyzer: Add override keyword where it is missing
i386.cc: Add override keyword where it is missing
ranger: Add override keyword where it is missing
gcc/analyzer/region-model.cc | 3 ++-
gcc/analyzer/shift-diagnostics.cc | 4 ++--
gcc/config/i386/i386.cc | 3 ++-
gcc/gimple-range-cache.h | 2 +-
gcc/gimple-range-path.h | 2 +-
gcc/gimple-range.h | 2 +-
gcc/range-op.cc | 9 +++++----
gcc/value-relation.h | 6 +++---
8 files changed, 17 insertions(+), 14 deletions(-)
--
2.55.0
More information about the Gcc-patches
mailing list