This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from ba5a6787374 c++: more name lookup for non-dep rewritten cmp ops new 6d9152659f4 diagnostics: introduce a "gcc/diagnostics" subdirectory new 1743dd35a77 diagnostics: move logical locations into "diagnostics" new cf7b34b7f30 diagnostics: move diagnostic_metadata to diagnostics::metadata new e84867ce352 diagnostics: move diagnostic_diagram to diagnostics::diagram new d38c7faf31c diagnostics: move edit_context to namespace/dir "diagnostics" new bff1af9ebf6 diagnostics: move client data hooks into namespace/dir "dia [...] new accd28c1aa0 diagnostics: rename diagnostic_output_file to diagnostics:: [...] new c9c996d3f03 diagnostics: move diagnostics_output_spec to diagnostics::o [...] new 5b64ba693f5 diagnostics: introduce namespace diagnostics::paths new 5ac3308484c diagnostics: move/rename output formats to diagnostics as "sinks" new e31ec9ee653 diagnostics: introduce diagnostics/source-printing.cc new e3565f244f4 diagnostics: move diagnostic-macro-unwinding.{cc,h} -> diag [...] new f3157d04266 diagnostics: add m_ prefix to fields of diagnostic_info new 0c0cb2f00c0 diagnostics: move diagnostic_info to its own header new 0661b7bfdca diagnostics: move diagnostic_context to diagnostics::contex [...] new 0654c543363 diagnostics: move option_classifier to its own files new 783004835b4 diagnostics: move buffering code to its own .cc file new 1b5295431ed diagnostics: move gcc/selftest-diagnostic.{h,cc} -> gcc/dia [...] new 8a1a19f7140 diagnostics: move gcc/diagnostic-color.{h,cc} to gcc/diagno [...] new d67c91aa754 diagnostics: gcc/diagnostic-url.h -> gcc/diagnostics/url.h new a9c3674007a diagnostics: reorganize selftests new c48df0fdfc0 diagnostics: move diagnostics::edit_context -> diagnostics: [...] new a211066f1d3 Rename diagnostic-spec.{cc,h} to gcc-diagnostic-spec.{cc,h} new e8c39611c61 diagnostics: rename diagnostic_option_id to diagnostics::op [...] new 3cc27ed5b6f diagnostics: convert diagnostic_t to enum class diagnostics::kind new 8d9d9515f5d diagnostics: move diagnostic.c to diagnostics/context.cc new 84c4bf5a005 diagnostics: simplify header files new 14280a1342e diagnostics: eliminate some redundant includes new 5f88037941d diagnostics: move file_cache from input.{cc,h} to diagnosti [...] new 8aa544179dc diagnostics: introduce context-options.h new 24ffe3ea649 diagnostics: eliminate ::diagnostic_info typedef new 3568e2f9493 diagnostics: make context::m_source_printing private new 8dac541d5a5 diagnostics: avoid using "sink" for things that aren't a di [...] new bae1f7e2981 Introduce lazily-created.h
The 34 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: contrib/filter-clang-warnings.py | 2 +- contrib/gcc.doxy | 2 +- gcc/Makefile.in | 53 +- gcc/ada/gcc-interface/misc.cc | 4 +- gcc/ada/gcc-interface/trans.cc | 12 +- gcc/analyzer/access-diagram.cc | 10 +- gcc/analyzer/access-diagram.h | 2 +- gcc/analyzer/ana-state-to-diagnostic-state.cc | 4 +- gcc/analyzer/ana-state-to-diagnostic-state.h | 2 +- gcc/analyzer/analyzer.cc | 4 +- gcc/analyzer/bounds-checking.cc | 28 +- gcc/analyzer/call-details.cc | 6 +- gcc/analyzer/call-info.cc | 2 +- gcc/analyzer/checker-event.cc | 95 +- gcc/analyzer/checker-event.h | 43 +- gcc/analyzer/checker-path.cc | 2 +- gcc/analyzer/checker-path.h | 30 +- gcc/analyzer/common.h | 4 +- gcc/analyzer/diagnostic-manager.cc | 20 +- gcc/analyzer/diagnostic-manager.h | 5 +- gcc/analyzer/infinite-loop.cc | 7 +- gcc/analyzer/infinite-recursion.cc | 7 +- gcc/analyzer/kf.cc | 2 +- gcc/analyzer/pending-diagnostic.cc | 6 +- gcc/analyzer/pending-diagnostic.h | 34 +- gcc/analyzer/program-point.cc | 15 +- gcc/analyzer/program-state.cc | 4 +- gcc/analyzer/region-model.cc | 19 +- gcc/analyzer/sm-fd.cc | 23 +- gcc/analyzer/sm-file.cc | 20 +- gcc/analyzer/sm-malloc.cc | 26 +- gcc/analyzer/sm-pattern-test.cc | 2 +- gcc/analyzer/sm-sensitive.cc | 13 +- gcc/analyzer/sm-signal.cc | 2 +- gcc/analyzer/sm-taint.cc | 26 +- gcc/analyzer/varargs.cc | 16 +- gcc/c-family/c-common.cc | 28 +- gcc/c-family/c-common.h | 5 +- gcc/c-family/c-cppbuiltin.cc | 2 +- gcc/c-family/c-format.cc | 16 +- gcc/c-family/c-indentation.cc | 19 +- gcc/c-family/c-lex.cc | 2 +- gcc/c-family/c-opts.cc | 20 +- gcc/c-family/c-pragma.cc | 15 +- gcc/c-family/c-warn.cc | 4 +- gcc/c-family/known-headers.cc | 7 +- gcc/c-family/known-headers.h | 4 +- gcc/c/c-decl.cc | 2 +- gcc/c/c-errors.cc | 63 +- gcc/c/c-objc-common.cc | 2 +- gcc/c/c-parser.cc | 7 +- gcc/c/c-tree.h | 10 +- gcc/c/c-typeck.cc | 25 +- gcc/cobol/util.cc | 44 +- gcc/common.opt | 4 +- gcc/config/aarch64/aarch64.cc | 5 +- gcc/config/i386/i386-options.cc | 4 +- gcc/config/s390/s390.cc | 10 +- gcc/configure | 2 +- gcc/configure.ac | 2 +- gcc/coretypes.h | 6 +- gcc/cp/call.cc | 24 +- gcc/cp/constexpr.cc | 11 +- gcc/cp/cp-tree.h | 14 +- gcc/cp/decl.cc | 46 +- gcc/cp/error.cc | 98 +- gcc/cp/init.cc | 6 +- gcc/cp/method.cc | 19 +- gcc/cp/module.cc | 45 +- gcc/cp/name-lookup.cc | 2 +- gcc/cp/parser.cc | 38 +- gcc/cp/pt.cc | 4 +- gcc/cp/semantics.cc | 3 +- gcc/cp/typeck.cc | 15 +- gcc/cp/typeck2.cc | 15 +- gcc/d/d-diagnostic.cc | 23 +- gcc/diagnostic-core.h | 84 +- gcc/diagnostic-global-context.cc | 121 +- gcc/diagnostic.h | 1268 ++------------------ gcc/diagnostics/buffering.cc | 199 +++ .../buffering.h} | 64 +- gcc/{edit-context.cc => diagnostics/changes.cc} | 303 ++--- gcc/{edit-context.h => diagnostics/changes.h} | 29 +- .../client-data-hooks.h} | 55 +- gcc/{diagnostic-color.cc => diagnostics/color.cc} | 8 +- gcc/{diagnostic-color.h => diagnostics/color.h} | 6 +- gcc/diagnostics/context-options.h | 116 ++ gcc/{diagnostic.cc => diagnostics/context.cc} | 1066 ++++++---------- gcc/diagnostics/context.h | 959 +++++++++++++++ gcc/diagnostics/diagnostic-info.h | 75 ++ gcc/diagnostics/diagnostics-selftests.cc | 59 + gcc/diagnostics/diagnostics-selftests.h | 55 + .../diagram.h} | 16 +- .../digraphs.cc} | 32 +- .../digraphs.h} | 56 +- .../event-id.h} | 35 +- gcc/diagnostics/file-cache.cc | 1083 +++++++++++++++++ gcc/diagnostics/file-cache.h | 125 ++ .../html-sink.cc} | 420 +++---- .../html-sink.h} | 34 +- gcc/{diagnostic.def => diagnostics/kinds.def} | 40 +- gcc/diagnostics/kinds.h | 45 + .../lazy-paths.cc} | 103 +- .../lazy-paths.h} | 36 +- .../logical-locations.h} | 127 +- .../macro-unwinding.cc} | 17 +- .../macro-unwinding.h} | 16 +- .../metadata.h} | 34 +- gcc/diagnostics/option-classifier.cc | 222 ++++ gcc/diagnostics/option-classifier.h | 110 ++ gcc/diagnostics/option-id.h | 49 + .../output-file.h} | 34 +- .../output-spec.cc} | 136 +-- .../output-spec.h} | 40 +- .../paths-output.cc} | 449 +++---- gcc/{diagnostic-path.cc => diagnostics/paths.cc} | 45 +- gcc/{diagnostic-path.h => diagnostics/paths.h} | 74 +- .../sarif-sink.cc} | 734 +++++------ .../sarif-sink.h} | 85 +- .../selftest-context.cc} | 55 +- .../selftest-context.h} | 54 +- .../selftest-logical-locations.cc} | 44 +- .../selftest-logical-locations.h} | 35 +- .../selftest-paths.cc} | 143 +-- .../selftest-paths.h} | 84 +- .../selftest-source-printing.h} | 27 +- gcc/{diagnostic-format.h => diagnostics/sink.h} | 58 +- .../source-printing-effects.h} | 14 +- .../source-printing.cc} | 1022 ++++++++-------- .../state-graphs-to-dot.cc} | 27 +- .../state-graphs.cc} | 16 +- .../state-graphs.h} | 14 +- .../text-sink.cc} | 215 ++-- .../text-sink.h} | 65 +- gcc/{diagnostic-url.h => diagnostics/url.h} | 6 +- gcc/doc/analyzer.texi | 4 +- gcc/errors.cc | 5 +- gcc/final.cc | 3 +- gcc/fortran/cpp.cc | 18 +- gcc/fortran/error.cc | 132 +- gcc/fortran/gfortran.h | 4 +- gcc/fortran/options.cc | 3 +- gcc/{diagnostic-spec.cc => gcc-diagnostic-spec.cc} | 2 +- gcc/{diagnostic-spec.h => gcc-diagnostic-spec.h} | 6 +- gcc/gcc-rich-location.cc | 7 +- gcc/gcc-rich-location.h | 8 +- gcc/gcc.cc | 15 +- gcc/gdbinit.in | 6 +- gcc/gengtype.cc | 2 +- gcc/input.cc | 1073 +---------------- gcc/input.h | 104 +- gcc/ipa-pure-const.cc | 2 +- gcc/jit/dummy-frontend.cc | 32 +- gcc/jit/jit-playback.cc | 2 +- gcc/jit/jit-playback.h | 9 +- gcc/langhooks-def.h | 8 +- gcc/langhooks.cc | 10 +- gcc/langhooks.h | 8 +- gcc/lazily-created.h | 51 + gcc/libgdiagnostics.cc | 277 +++-- gcc/libsarifreplay.cc | 2 +- gcc/lto-wrapper.cc | 8 +- gcc/m2/gm2-gcc/m2color.cc | 2 +- gcc/m2/gm2-gcc/m2linemap.cc | 15 +- gcc/m2/gm2-gcc/rtegraph.cc | 21 +- gcc/optc-gen.awk | 4 +- gcc/opth-gen.awk | 4 +- gcc/opts-common.cc | 31 +- gcc/opts-diagnostic.cc | 24 +- gcc/opts-diagnostic.h | 23 +- gcc/opts-global.cc | 6 +- gcc/opts.cc | 81 +- gcc/opts.h | 18 +- gcc/pretty-print-format-impl.h | 6 +- gcc/pretty-print-markup.h | 2 +- gcc/pretty-print.cc | 8 +- gcc/pretty-print.h | 2 +- gcc/rtl-error.cc | 10 +- gcc/rust/backend/rust-tree.cc | 12 +- gcc/rust/backend/rust-tree.h | 6 +- gcc/rust/resolve/rust-ast-resolve-expr.cc | 4 +- gcc/rust/resolve/rust-ice-finalizer.cc | 10 +- gcc/rust/resolve/rust-ice-finalizer.h | 6 +- gcc/rust/resolve/rust-late-name-resolver-2.0.cc | 4 +- gcc/rust/rust-diagnostics.cc | 10 +- gcc/selftest-run-tests.cc | 15 +- gcc/selftest.cc | 5 +- gcc/selftest.h | 19 +- gcc/simple-diagnostic-path.cc | 30 +- gcc/simple-diagnostic-path.h | 49 +- gcc/substring-locations.cc | 16 +- gcc/substring-locations.h | 10 +- .../plugin/show-template-tree-color-labels.C | 2 +- .../plugin/show_template_tree_color_plugin.cc | 5 +- .../gcc.dg/plugin/analyzer_cpython_plugin.cc | 4 +- gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.cc | 16 +- .../gcc.dg/plugin/analyzer_kernel_plugin.cc | 4 +- .../gcc.dg/plugin/analyzer_known_fns_plugin.cc | 4 +- .../gcc.dg/plugin/diagnostic-test-show-locus.py | 2 +- .../gcc.dg/plugin/diagnostic_group_plugin.cc | 27 +- .../gcc.dg/plugin/diagnostic_plugin_show_trees.cc | 2 +- .../gcc.dg/plugin/diagnostic_plugin_test_graphs.cc | 16 +- .../plugin/diagnostic_plugin_test_inlining.cc | 2 +- .../plugin/diagnostic_plugin_test_metadata.cc | 13 +- .../gcc.dg/plugin/diagnostic_plugin_test_paths.cc | 22 +- .../plugin/diagnostic_plugin_test_show_locus.cc | 48 +- .../diagnostic_plugin_test_string_literals.cc | 2 +- .../plugin/diagnostic_plugin_test_text_art.cc | 4 +- ...diagnostic_plugin_test_tree_expression_range.cc | 2 +- .../gcc.dg/plugin/expensive_selftests_plugin.cc | 17 +- .../gcc.dg/plugin/location_overflow_plugin.cc | 22 +- .../gcc.dg/sarif-output/include-chain-2.h | 2 +- gcc/testsuite/lib/gcc-dg.exp | 4 +- gcc/testsuite/lib/sarif.py | 2 +- gcc/text-art/style.cc | 2 +- gcc/toplev.cc | 33 +- gcc/tree-diagnostic-client-data-hooks.cc | 31 +- gcc/tree-diagnostic.cc | 32 +- gcc/tree-diagnostic.h | 6 +- gcc/tree-logical-location.cc | 29 +- gcc/tree-logical-location.h | 22 +- gcc/warning-control.cc | 2 +- libcc1/context.cc | 6 +- libcpp/charset.cc | 2 +- libcpp/include/cpplib.h | 3 +- libcpp/include/rich-location.h | 13 +- libcpp/internal.h | 4 +- 227 files changed, 7687 insertions(+), 6740 deletions(-) create mode 100644 gcc/diagnostics/buffering.cc rename gcc/{diagnostic-buffer.h => diagnostics/buffering.h} (61%) rename gcc/{edit-context.cc => diagnostics/changes.cc} (88%) rename gcc/{edit-context.h => diagnostics/changes.h} (77%) rename gcc/{diagnostic-client-data-hooks.h => diagnostics/client-data-hooks.h} (72%) rename gcc/{diagnostic-color.cc => diagnostics/color.cc} (99%) rename gcc/{diagnostic-color.h => diagnostics/color.h} (95%) create mode 100644 gcc/diagnostics/context-options.h rename gcc/{diagnostic.cc => diagnostics/context.cc} (65%) create mode 100644 gcc/diagnostics/context.h create mode 100644 gcc/diagnostics/diagnostic-info.h create mode 100644 gcc/diagnostics/diagnostics-selftests.cc create mode 100644 gcc/diagnostics/diagnostics-selftests.h rename gcc/{diagnostic-diagram.h => diagnostics/diagram.h} (83%) rename gcc/{diagnostic-digraphs.cc => diagnostics/digraphs.cc} (95%) rename gcc/{diagnostic-digraphs.h => diagnostics/digraphs.h} (86%) rename gcc/{diagnostic-event-id.h => diagnostics/event-id.h} (74%) create mode 100644 gcc/diagnostics/file-cache.cc create mode 100644 gcc/diagnostics/file-cache.h rename gcc/{diagnostic-format-html.cc => diagnostics/html-sink.cc} (80%) rename gcc/{diagnostic-format-html.h => diagnostics/html-sink.h} (69%) rename gcc/{diagnostic.def => diagnostics/kinds.def} (53%) create mode 100644 gcc/diagnostics/kinds.h rename gcc/{lazy-diagnostic-path.cc => diagnostics/lazy-paths.cc} (62%) rename gcc/{lazy-diagnostic-path.h => diagnostics/lazy-paths.h} (65%) rename gcc/{logical-location.h => diagnostics/logical-locations.h} (62%) rename gcc/{diagnostic-macro-unwinding.cc => diagnostics/macro-unwinding.cc} (95%) rename gcc/{diagnostic-macro-unwinding.h => diagnostics/macro-unwinding.h} (69%) rename gcc/{diagnostic-metadata.h => diagnostics/metadata.h} (82%) create mode 100644 gcc/diagnostics/option-classifier.cc create mode 100644 gcc/diagnostics/option-classifier.h create mode 100644 gcc/diagnostics/option-id.h rename gcc/{diagnostic-output-file.h => diagnostics/output-file.h} (77%) rename gcc/{diagnostic-output-spec.cc => diagnostics/output-spec.cc} (89%) rename gcc/{diagnostic-output-spec.h => diagnostics/output-spec.h} (75%) rename gcc/{diagnostic-path-output.cc => diagnostics/paths-output.cc} (89%) rename gcc/{diagnostic-path.cc => diagnostics/paths.cc} (82%) rename gcc/{diagnostic-path.h => diagnostics/paths.h} (81%) rename gcc/{diagnostic-format-sarif.cc => diagnostics/sarif-sink.cc} (89%) rename gcc/{diagnostic-format-sarif.h => diagnostics/sarif-sink.h} (73%) rename gcc/{selftest-diagnostic.cc => diagnostics/selftest-context.cc} (58%) rename gcc/{selftest-diagnostic.h => diagnostics/selftest-context.h} (54%) rename gcc/{selftest-logical-location.cc => diagnostics/selftest-logical-locations [...] rename gcc/{selftest-logical-location.h => diagnostics/selftest-logical-locations. [...] rename gcc/{selftest-diagnostic-path.cc => diagnostics/selftest-paths.cc} (55%) rename gcc/{selftest-diagnostic-path.h => diagnostics/selftest-paths.h} (62%) rename gcc/{selftest-diagnostic-show-locus.h => diagnostics/selftest-source-printi [...] rename gcc/{diagnostic-format.h => diagnostics/sink.h} (64%) rename gcc/{diagnostic-label-effects.h => diagnostics/source-printing-effects.h} (86%) rename gcc/{diagnostic-show-locus.cc => diagnostics/source-printing.cc} (90%) rename gcc/{diagnostic-state-to-dot.cc => diagnostics/state-graphs-to-dot.cc} (94%) rename gcc/{diagnostic-state-graphs.cc => diagnostics/state-graphs.cc} (93%) rename gcc/{diagnostic-state-graphs.h => diagnostics/state-graphs.h} (93%) rename gcc/{diagnostic-format-text.cc => diagnostics/text-sink.cc} (73%) rename gcc/{diagnostic-format-text.h => diagnostics/text-sink.h} (72%) rename gcc/{diagnostic-url.h => diagnostics/url.h} (93%) rename gcc/{diagnostic-spec.cc => gcc-diagnostic-spec.cc} (99%) rename gcc/{diagnostic-spec.h => gcc-diagnostic-spec.h} (96%) create mode 100644 gcc/lazily-created.h