-
- Downloads
Use "final" and "override" directly, rather than via macros
As of GCC 11 onwards we have required a C++11 compiler, such as GCC 4.8
or later. On the assumption that any such compiler correctly implements
"final" and "override", this patch updates the source tree to stop using
the FINAL and OVERRIDE macros from ansidecl.h, in favor of simply using
"final" and "override" directly.
libcpp/ChangeLog:
* lex.cc: Replace uses of "FINAL" and "OVERRIDE" with "final" and
"override".
gcc/analyzer/ChangeLog:
* analyzer-pass.cc: Replace uses of "FINAL" and "OVERRIDE" with
"final" and "override".
* call-info.h: Likewise.
* checker-path.h: Likewise.
* constraint-manager.cc: Likewise.
* diagnostic-manager.cc: Likewise.
* engine.cc: Likewise.
* exploded-graph.h: Likewise.
* feasible-graph.h: Likewise.
* pending-diagnostic.h: Likewise.
* region-model-impl-calls.cc: Likewise.
* region-model.cc: Likewise.
* region-model.h: Likewise.
* region.h: Likewise.
* sm-file.cc: Likewise.
* sm-malloc.cc: Likewise.
* sm-pattern-test.cc: Likewise.
* sm-sensitive.cc: Likewise.
* sm-signal.cc: Likewise.
* sm-taint.cc: Likewise.
* state-purge.h: Likewise.
* store.cc: Likewise.
* store.h: Likewise.
* supergraph.h: Likewise.
* svalue.h: Likewise.
* trimmed-graph.h: Likewise.
* varargs.cc: Likewise.
gcc/c-family/ChangeLog:
* c-format.cc: Replace uses of "FINAL" and "OVERRIDE" with "final"
and "override".
* c-pretty-print.h: Likewise.
gcc/cp/ChangeLog:
* cxx-pretty-print.h: Replace uses of "FINAL" and "OVERRIDE" with
"final" and "override".
* error.cc: Likewise.
gcc/jit/ChangeLog:
* jit-playback.h: Replace uses of "FINAL" and "OVERRIDE" with
"final" and "override".
* jit-recording.cc: Likewise.
* jit-recording.h: Likewise.
gcc/ChangeLog:
* config/aarch64/aarch64-sve-builtins-base.cc: Replace uses of
"FINAL" and "OVERRIDE" with "final" and "override".
* config/aarch64/aarch64-sve-builtins-functions.h: Likewise.
* config/aarch64/aarch64-sve-builtins-shapes.cc: Likewise.
* config/aarch64/aarch64-sve-builtins-sve2.cc: Likewise.
* diagnostic-path.h: Likewise.
* digraph.cc: Likewise.
* gcc-rich-location.h: Likewise.
* gimple-array-bounds.cc: Likewise.
* gimple-loop-versioning.cc: Likewise.
* gimple-range-cache.cc: Likewise.
* gimple-range-cache.h: Likewise.
* gimple-range-fold.cc: Likewise.
* gimple-range-fold.h: Likewise.
* gimple-range-tests.cc: Likewise.
* gimple-range.h: Likewise.
* gimple-ssa-evrp.cc: Likewise.
* input.cc: Likewise.
* json.h: Likewise.
* read-rtl-function.cc: Likewise.
* tree-complex.cc: Likewise.
* tree-diagnostic-path.cc: Likewise.
* tree-ssa-ccp.cc: Likewise.
* tree-ssa-copy.cc: Likewise.
* tree-vrp.cc: Likewise.
* value-query.h: Likewise.
* vr-values.h: Likewise.
Signed-off-by:
David Malcolm <dmalcolm@redhat.com>
Showing
- gcc/analyzer/analyzer-pass.cc 2 additions, 2 deletionsgcc/analyzer/analyzer-pass.cc
- gcc/analyzer/call-info.h 4 additions, 4 deletionsgcc/analyzer/call-info.h
- gcc/analyzer/checker-path.h 26 additions, 26 deletionsgcc/analyzer/checker-path.h
- gcc/analyzer/constraint-manager.cc 2 additions, 2 deletionsgcc/analyzer/constraint-manager.cc
- gcc/analyzer/diagnostic-manager.cc 18 additions, 18 deletionsgcc/analyzer/diagnostic-manager.cc
- gcc/analyzer/engine.cc 45 additions, 45 deletionsgcc/analyzer/engine.cc
- gcc/analyzer/exploded-graph.h 26 additions, 26 deletionsgcc/analyzer/exploded-graph.h
- gcc/analyzer/feasible-graph.h 3 additions, 3 deletionsgcc/analyzer/feasible-graph.h
- gcc/analyzer/pending-diagnostic.h 2 additions, 2 deletionsgcc/analyzer/pending-diagnostic.h
- gcc/analyzer/region-model-impl-calls.cc 7 additions, 7 deletionsgcc/analyzer/region-model-impl-calls.cc
- gcc/analyzer/region-model.cc 27 additions, 27 deletionsgcc/analyzer/region-model.cc
- gcc/analyzer/region-model.h 42 additions, 42 deletionsgcc/analyzer/region-model.h
- gcc/analyzer/region.h 71 additions, 71 deletionsgcc/analyzer/region.h
- gcc/analyzer/sm-file.cc 18 additions, 18 deletionsgcc/analyzer/sm-file.cc
- gcc/analyzer/sm-malloc.cc 65 additions, 65 deletionsgcc/analyzer/sm-malloc.cc
- gcc/analyzer/sm-pattern-test.cc 7 additions, 7 deletionsgcc/analyzer/sm-pattern-test.cc
- gcc/analyzer/sm-sensitive.cc 10 additions, 10 deletionsgcc/analyzer/sm-sensitive.cc
- gcc/analyzer/sm-signal.cc 12 additions, 12 deletionsgcc/analyzer/sm-signal.cc
- gcc/analyzer/sm-taint.cc 30 additions, 30 deletionsgcc/analyzer/sm-taint.cc
- gcc/analyzer/state-purge.h 2 additions, 2 deletionsgcc/analyzer/state-purge.h
Loading
Please register or sign in to comment