[gcc r16-2766] diagnostics: improve support for nesting levels [PR116253]

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:7969e4859ed0079b4a1462ea82aa6b2dd3d17f72 commit r16-2766-g7969e4859ed0079b4a1462ea82aa6b2dd3d17f72 Author: David Malcolm Date: Mon Aug 4 10:45:31 2025 -0400 diagnostics: improve support for nesting levels [PR116253] This patch adds support to sarif-replay for

[gcc r16-2767] optinfo: use enum class

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:b963237a903f73cf22ad024c0ef6098a9ee27ed4 commit r16-2767-gb963237a903f73cf22ad024c0ef6098a9ee27ed4 Author: David Malcolm Date: Mon Aug 4 10:45:31 2025 -0400 optinfo: use enum class Modernization; no functional change intended. gcc/ChangeLog:

[gcc r16-2765] diagnostics: avoid stray trailing space in html sink in sarif-replay [PR116792]

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0fb30003867635965e2305a4e6f4ac19c2b54225 commit r16-2765-g0fb30003867635965e2305a4e6f4ac19c2b54225 Author: David Malcolm Date: Mon Aug 4 10:45:31 2025 -0400 diagnostics: avoid stray trailing space in html sink in sarif-replay [PR116792] For the common case w

[gcc r16-2764] diagnostics: move diagnostics::counters to its own header

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:74f59bf10dfef19504060fba998bcde364ab996c commit r16-2764-g74f59bf10dfef19504060fba998bcde364ab996c Author: David Malcolm Date: Mon Aug 4 10:45:30 2025 -0400 diagnostics: move diagnostics::counters to its own header gcc/ChangeLog: * diagnostics/con

[gcc r16-2763] diagnostics: split source_printing_options out into its own header

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:7dea2582b3a5e460792a6961d4d47fab94f89f78 commit r16-2763-g7dea2582b3a5e460792a6961d4d47fab94f89f78 Author: David Malcolm Date: Mon Aug 4 10:45:30 2025 -0400 diagnostics: split source_printing_options out into its own header No functional change intended.

[gcc r16-2762] diagnostics: rename option_manager to option_id_manager and split out from context.h

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:268ec60da01c67d346df9504fb2a60050259738d commit r16-2762-g268ec60da01c67d346df9504fb2a60050259738d Author: David Malcolm Date: Mon Aug 4 10:45:30 2025 -0400 diagnostics: rename option_manager to option_id_manager and split out from context.h This patch split

[gcc r16-2761] diagnostics: fix comment in buffering.h

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:3cff171b243f4d59b1b93a171050633f5eb5bf5e commit r16-2761-g3cff171b243f4d59b1b93a171050633f5eb5bf5e Author: David Malcolm Date: Mon Aug 4 10:45:30 2025 -0400 diagnostics: fix comment in buffering.h gcc/ChangeLog: * diagnostics/buffering.h: Update c

[gcc r16-2760] gimple-warn-recursion.cc: add missing auto_diagnostic_group

2025-08-04 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:c125e86853a23b82a9a1a861a1f8e39a01ba027b commit r16-2760-gc125e86853a23b82a9a1a861a1f8e39a01ba027b Author: David Malcolm Date: Mon Aug 4 10:45:29 2025 -0400 gimple-warn-recursion.cc: add missing auto_diagnostic_group gcc/ChangeLog: * gimple-warn-r

[gcc r16-2587] git_commit.py: add "diagnostics" to bug components

2025-07-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:95f517dc7796ba1694755ce13b226e2358a89d8e commit r16-2587-g95f517dc7796ba1694755ce13b226e2358a89d8e Author: David Malcolm Date: Mon Jul 28 10:56:07 2025 -0400 git_commit.py: add "diagnostics" to bug components contrib/ChangeLog * gcc-changelog/git_

[gcc r16-2586] restore bootstrap with --enable-checking=release [PR121260]

2025-07-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1f36aabfe81aa168da11229158faf70b68b9dfd7 commit r16-2586-g1f36aabfe81aa168da11229158faf70b68b9dfd7 Author: Mikael Pettersson Date: Mon Jul 28 13:44:46 2025 +0200 restore bootstrap with --enable-checking=release [PR121260] Current trunk doesn't bootstrap with

[gcc r16-2553] Introduce lazily-created.h

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:bae1f7e29816b9a2287830df6dd4cde39f0208b4 commit r16-2553-gbae1f7e29816b9a2287830df6dd4cde39f0208b4 Author: David Malcolm Date: Fri Jul 25 15:13:46 2025 -0400 Introduce lazily-created.h No functional change intended. gcc/ChangeLog: * diagn

[gcc r16-2550] diagnostics: eliminate ::diagnostic_info typedef

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:24ffe3ea649d07f8fb4d14b89b61bf9e174069fd commit r16-2550-g24ffe3ea649d07f8fb4d14b89b61bf9e174069fd Author: David Malcolm Date: Fri Jul 25 15:13:45 2025 -0400 diagnostics: eliminate ::diagnostic_info typedef No functional change intended. gcc/c-family

[gcc r16-2543] diagnostics: rename diagnostic_option_id to diagnostics::option_id and move to its own header

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e8c39611c61886dbbdb831163b5fcad6f5578dfa commit r16-2543-ge8c39611c61886dbbdb831163b5fcad6f5578dfa Author: David Malcolm Date: Fri Jul 25 15:13:42 2025 -0400 diagnostics: rename diagnostic_option_id to diagnostics::option_id and move to its own header No fun

[gcc r16-2549] diagnostics: introduce context-options.h

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8aa544179dc971ac9af364ced5f128581ed09843 commit r16-2549-g8aa544179dc971ac9af364ced5f128581ed09843 Author: David Malcolm Date: Fri Jul 25 15:13:44 2025 -0400 diagnostics: introduce context-options.h No functional change intended. gcc/ChangeLog:

[gcc r16-2552] diagnostics: avoid using "sink" for things that aren't a diagnostics::sink

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8dac541d5a5a9c16c606d38e8bc9324867d97e24 commit r16-2552-g8dac541d5a5a9c16c606d38e8bc9324867d97e24 Author: David Malcolm Date: Fri Jul 25 15:13:46 2025 -0400 diagnostics: avoid using "sink" for things that aren't a diagnostics::sink No functional change inten

[gcc r16-2551] diagnostics: make context::m_source_printing private

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:3568e2f949324efd2e0ee13a3c803cee3e51285a commit r16-2551-g3568e2f949324efd2e0ee13a3c803cee3e51285a Author: David Malcolm Date: Fri Jul 25 15:13:45 2025 -0400 diagnostics: make context::m_source_printing private No functional change intended. gcc/ada/

[gcc r16-2548] diagnostics: move file_cache from input.{cc, h} to diagnostics/file-cache.{cc, h}

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:5f88037941d6fbfef7281f767dcc31a5aa61f0cd commit r16-2548-g5f88037941d6fbfef7281f767dcc31a5aa61f0cd Author: David Malcolm Date: Fri Jul 25 15:13:44 2025 -0400 diagnostics: move file_cache from input.{cc,h} to diagnostics/file-cache.{cc,h} No functional change

[gcc r16-2547] diagnostics: eliminate some redundant includes

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:14280a1342e60e6e4d553ac565c69e4f5d90ebff commit r16-2547-g14280a1342e60e6e4d553ac565c69e4f5d90ebff Author: David Malcolm Date: Fri Jul 25 15:13:44 2025 -0400 diagnostics: eliminate some redundant includes No functional change intended. gcc/ChangeLog:

[gcc r16-2541] diagnostics: move diagnostics::edit_context -> diagnostics::changes::change_set

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:c48df0fdfc0647b991b5c6304c9ddc7518b5730f commit r16-2541-gc48df0fdfc0647b991b5c6304c9ddc7518b5730f Author: David Malcolm Date: Fri Jul 25 15:13:41 2025 -0400 diagnostics: move diagnostics::edit_context -> diagnostics::changes::change_set No functional change

[gcc r16-2546] diagnostics: simplify header files

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:84c4bf5a00541481711ed1f0723e822f3396cd6b commit r16-2546-g84c4bf5a00541481711ed1f0723e822f3396cd6b Author: David Malcolm Date: Fri Jul 25 15:13:43 2025 -0400 diagnostics: simplify header files No functional change intended. gcc/ChangeLog:

[gcc r16-2545] diagnostics: move diagnostic.c to diagnostics/context.cc

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8d9d9515f5db9bab758e484f3956033150931de5 commit r16-2545-g8d9d9515f5db9bab758e484f3956033150931de5 Author: David Malcolm Date: Fri Jul 25 15:13:43 2025 -0400 diagnostics: move diagnostic.c to diagnostics/context.cc No functional change intended. gcc/

[gcc r16-2540] diagnostics: reorganize selftests

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a9c3674007a306364046cd8eb9b31f99b75693be commit r16-2540-ga9c3674007a306364046cd8eb9b31f99b75693be Author: David Malcolm Date: Fri Jul 25 15:13:41 2025 -0400 diagnostics: reorganize selftests No functional change intended. gcc/ChangeLog:

[gcc r16-2542] Rename diagnostic-spec.{cc, h} to gcc-diagnostic-spec.{cc, h}

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a211066f1d3628ad9d8edd6ebf786df6ff5bb1b2 commit r16-2542-ga211066f1d3628ad9d8edd6ebf786df6ff5bb1b2 Author: David Malcolm Date: Fri Jul 25 15:13:41 2025 -0400 Rename diagnostic-spec.{cc,h} to gcc-diagnostic-spec.{cc,h} This has GCC-specific stuff in it (option

[gcc r16-2536] diagnostics: move buffering code to its own .cc file

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:783004835b47787bda40542f74522315e573a271 commit r16-2536-g783004835b47787bda40542f74522315e573a271 Author: David Malcolm Date: Fri Jul 25 15:13:39 2025 -0400 diagnostics: move buffering code to its own .cc file No functional change intended. gcc/Chan

[gcc r16-2539] diagnostics: gcc/diagnostic-url.h -> gcc/diagnostics/url.h

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:d67c91aa7541e69733d8c2b53af583b300cb0900 commit r16-2539-gd67c91aa7541e69733d8c2b53af583b300cb0900 Author: David Malcolm Date: Fri Jul 25 15:13:40 2025 -0400 diagnostics: gcc/diagnostic-url.h -> gcc/diagnostics/url.h No functional change intended. gc

[gcc r16-2535] diagnostics: move option_classifier to its own files

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0654c543363d935e19f2088dffc655688de35be6 commit r16-2535-g0654c543363d935e19f2088dffc655688de35be6 Author: David Malcolm Date: Fri Jul 25 15:13:39 2025 -0400 diagnostics: move option_classifier to its own files No functional change intended. gcc/Chan

[gcc r16-2538] diagnostics: move gcc/diagnostic-color.{h, cc} to gcc/diagnostics/color.{h, cc}

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8a1a19f714044b1e0cc3f33add5da0f988b2a703 commit r16-2538-g8a1a19f714044b1e0cc3f33add5da0f988b2a703 Author: David Malcolm Date: Fri Jul 25 15:13:40 2025 -0400 diagnostics: move gcc/diagnostic-color.{h,cc} to gcc/diagnostics/color.{h,cc} No functional change i

[gcc r16-2537] diagnostics: move gcc/selftest-diagnostic.{h, cc} -> gcc/diagnostics/selftest-context.{h, cc}

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1b5295431ed7007f4ef149a99f438cf21d71e042 commit r16-2537-g1b5295431ed7007f4ef149a99f438cf21d71e042 Author: David Malcolm Date: Fri Jul 25 15:13:40 2025 -0400 diagnostics: move gcc/selftest-diagnostic.{h,cc} -> gcc/diagnostics/selftest-context.{h,cc} No funct

[gcc r16-2533] diagnostics: move diagnostic_info to its own header

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0c0cb2f00c0e9e9d46059561c3ae8c0cc12be41b commit r16-2533-g0c0cb2f00c0e9e9d46059561c3ae8c0cc12be41b Author: David Malcolm Date: Fri Jul 25 15:13:38 2025 -0400 diagnostics: move diagnostic_info to its own header No functional change intended. gcc/Chang

[gcc r16-2532] diagnostics: add m_ prefix to fields of diagnostic_info

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:f3157d042665a3e8beabb5d5cfcabeee8151e83c commit r16-2532-gf3157d042665a3e8beabb5d5cfcabeee8151e83c Author: David Malcolm Date: Fri Jul 25 15:13:38 2025 -0400 diagnostics: add m_ prefix to fields of diagnostic_info No functional change intended. gcc/c

[gcc r16-2531] diagnostics: move diagnostic-macro-unwinding.{cc, h} -> diagnostics/macro-unwinding.{cc, h}

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e3565f244f462826469c086d0152b6e4cbd60488 commit r16-2531-ge3565f244f462826469c086d0152b6e4cbd60488 Author: David Malcolm Date: Fri Jul 25 15:13:38 2025 -0400 diagnostics: move diagnostic-macro-unwinding.{cc,h} -> diagnostics/macro-unwinding.{cc,h} gcc/Change

[gcc r16-2530] diagnostics: introduce diagnostics/source-printing.cc

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e31ec9ee65386a7cf978c204e123b9a97eb9c296 commit r16-2530-ge31ec9ee65386a7cf978c204e123b9a97eb9c296 Author: David Malcolm Date: Fri Jul 25 15:13:37 2025 -0400 diagnostics: introduce diagnostics/source-printing.cc Move diagnostic-show-locus.cc to diagnostics/so

[gcc r16-2528] diagnostics: introduce namespace diagnostics::paths

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:5b64ba693f5cbc8ecb57ec10a248c137434237a7 commit r16-2528-g5b64ba693f5cbc8ecb57ec10a248c137434237a7 Author: David Malcolm Date: Fri Jul 25 15:13:36 2025 -0400 diagnostics: introduce namespace diagnostics::paths Move more diagnostic-specific code from gcc/ to g

[gcc r16-2525] diagnostics: move client data hooks into namespace/dir "diagnostics"

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:bff1af9ebf6949da6274e94f7bf5bcc17d937a3d commit r16-2525-gbff1af9ebf6949da6274e94f7bf5bcc17d937a3d Author: David Malcolm Date: Fri Jul 25 15:13:36 2025 -0400 diagnostics: move client data hooks into namespace/dir "diagnostics" No functional change intended.

[gcc r16-2527] diagnostics: move diagnostics_output_spec to diagnostics::output_spec

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:c9c996d3f0373e912b43da5a601c9677a2d9b3b4 commit r16-2527-gc9c996d3f0373e912b43da5a601c9677a2d9b3b4 Author: David Malcolm Date: Fri Jul 25 15:13:36 2025 -0400 diagnostics: move diagnostics_output_spec to diagnostics::output_spec No functional change intended.

[gcc r16-2526] diagnostics: rename diagnostic_output_file to diagnostics::output_file

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:accd28c1aa02439901c05a9a41d9a3611978d809 commit r16-2526-gaccd28c1aa02439901c05a9a41d9a3611978d809 Author: David Malcolm Date: Fri Jul 25 15:13:36 2025 -0400 diagnostics: rename diagnostic_output_file to diagnostics::output_file No functional change intended.

[gcc r16-2522] diagnostics: move diagnostic_metadata to diagnostics::metadata

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:cf7b34b7f3083689dbcdd87991b0d5fc20cccfbf commit r16-2522-gcf7b34b7f3083689dbcdd87991b0d5fc20cccfbf Author: David Malcolm Date: Fri Jul 25 15:13:35 2025 -0400 diagnostics: move diagnostic_metadata to diagnostics::metadata renamed: gcc/diagnostic-metadata.h ->

[gcc r16-2524] diagnostics: move edit_context to namespace/dir "diagnostics"

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:d38c7faf31cc66a66c912bd0ae74c7aa986f9ad2 commit r16-2524-gd38c7faf31cc66a66c912bd0ae74c7aa986f9ad2 Author: David Malcolm Date: Fri Jul 25 15:13:35 2025 -0400 diagnostics: move edit_context to namespace/dir "diagnostics" No functional change intended.

[gcc r16-2523] diagnostics: move diagnostic_diagram to diagnostics::diagram

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e84867ce352a5699a3f99d126ef5da4431461103 commit r16-2523-ge84867ce352a5699a3f99d126ef5da4431461103 Author: David Malcolm Date: Fri Jul 25 15:13:35 2025 -0400 diagnostics: move diagnostic_diagram to diagnostics::diagram No functional change intended.

[gcc r16-2521] diagnostics: move logical locations into "diagnostics"

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1743dd35a7705ebf76ee505796f71c3ec0d9a39c commit r16-2521-g1743dd35a7705ebf76ee505796f71c3ec0d9a39c Author: David Malcolm Date: Fri Jul 25 15:13:34 2025 -0400 diagnostics: move logical locations into "diagnostics" This patch moves gcc/logical-locations.h into

[gcc r16-2520] diagnostics: introduce a "gcc/diagnostics" subdirectory

2025-07-25 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:6d9152659f4f6a1bc61e8868bff700630612076e commit r16-2520-g6d9152659f4f6a1bc61e8868bff700630612076e Author: David Malcolm Date: Fri Jul 25 15:13:34 2025 -0400 diagnostics: introduce a "gcc/diagnostics" subdirectory The "gcc" subdirectory of our source tree cur

[gcc r16-2308] diagnostics: remove redundant field

2025-07-16 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:69d1fb86194c386f17e65cd52476ecf06481677b commit r16-2308-g69d1fb86194c386f17e65cd52476ecf06481677b Author: David Malcolm Date: Wed Jul 16 18:41:26 2025 -0400 diagnostics: remove redundant field I stopped using state_diagram::m_show_tags in r16-2211-ga5d9debed

[gcc r16-2307] contrib: add gcc/text-art to Doxygen input

2025-07-16 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:48b572ce868829828b321e0b13de3e6b04049408 commit r16-2307-g48b572ce868829828b321e0b13de3e6b04049408 Author: David Malcolm Date: Wed Jul 16 18:41:22 2025 -0400 contrib: add gcc/text-art to Doxygen input contrib/ChangeLog: * gcc.doxy (INPUT): Add dir

[gcc r16-2275] spellcheck.{cc,h}: modernization

2025-07-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1f0d76d61b94acc8a207c656dfe8f0fa7a38d742 commit r16-2275-g1f0d76d61b94acc8a207c656dfe8f0fa7a38d742 Author: David Malcolm Date: Tue Jul 15 16:19:53 2025 -0400 spellcheck.{cc,h}: modernization No functional change intended. gcc/ChangeLog: *

[gcc r16-2274] libgdiagnostics: add diagnostic_message_buffer [PR120792]

2025-07-15 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:2a521eee58da7c0d0f2262181b804aa148e60aaf commit r16-2274-g2a521eee58da7c0d0f2262181b804aa148e60aaf Author: David Malcolm Date: Tue Jul 15 16:19:42 2025 -0400 libgdiagnostics: add diagnostic_message_buffer [PR120792] This patch extends libgdiagnostics to provi

[gcc r16-2210] json: add json::value::clone

2025-07-11 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:d7c1e9b37caad5b18827f61b6de8a85110cd8e8e commit r16-2210-gd7c1e9b37caad5b18827f61b6de8a85110cd8e8e Author: David Malcolm Date: Fri Jul 11 14:58:20 2025 -0400 json: add json::value::clone gcc/ChangeLog: * json.cc (json::object::clone): New.

[gcc r16-2209] json: fix null-termination of json::string

2025-07-11 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1ea72a15031cd8aaea0f03449595bfeb4c45d167 commit r16-2209-g1ea72a15031cd8aaea0f03449595bfeb4c45d167 Author: David Malcolm Date: Fri Jul 11 14:58:20 2025 -0400 json: fix null-termination of json::string gcc/ChangeLog: * json.cc (string::string): Whe

[gcc r16-2208] libgdiagnostics: doc fixes

2025-07-11 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:457464edf19f17e2d30fe04c997144aa2cc5b99c commit r16-2208-g457464edf19f17e2d30fe04c997144aa2cc5b99c Author: David Malcolm Date: Fri Jul 11 14:58:20 2025 -0400 libgdiagnostics: doc fixes gcc/ChangeLog: * doc/libgdiagnostics/topics/compatibility.rst

[gcc r16-1830] diagnostics: remove "json" output format

2025-06-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:51ce373481e848344d1f219c814ce5e1ee4ca147 commit r16-1830-g51ce373481e848344d1f219c814ce5e1ee4ca147 Author: David Malcolm Date: Mon Jun 30 15:04:55 2025 -0400 diagnostics: remove "json" output format The "json" output format for diagnostics was deprecated in G

[gcc r16-1832] diagnostics: use nullptr rather than NULL

2025-06-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:5bcb841f29a8618160413eb683cb628bd04eeebf commit r16-1832-g5bcb841f29a8618160413eb683cb628bd04eeebf Author: David Malcolm Date: Mon Jun 30 15:05:14 2025 -0400 diagnostics: use nullptr rather than NULL Modernization; no functional change intended. gcc/

[gcc r16-1831] diagnostics: convert diagnostic_event::meaning enums to enum class

2025-06-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8ac43bfa380b5cf588683476a4ffaa4e7e97f02c commit r16-1831-g8ac43bfa380b5cf588683476a4ffaa4e7e97f02c Author: David Malcolm Date: Mon Jun 30 15:05:07 2025 -0400 diagnostics: convert diagnostic_event::meaning enums to enum class Modernization; no functional chang

[gcc r16-1716] diagnostics: make 5 more fields of diagnostic_context private

2025-06-26 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:c4d211bba2a86b90ee20a4f6f2cd1af1a036ee26 commit r16-1716-gc4d211bba2a86b90ee20a4f6f2cd1af1a036ee26 Author: David Malcolm Date: Thu Jun 26 13:29:36 2025 -0400 diagnostics: make 5 more fields of diagnostic_context private No functional change intended.

[gcc r16-1714] diagnostics: refactor sarif_scheme_handler::make_sink

2025-06-26 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:5bf213d4ad648fb6761e6143883ceca68c9342e7 commit r16-1714-g5bf213d4ad648fb6761e6143883ceca68c9342e7 Author: David Malcolm Date: Thu Jun 26 13:28:44 2025 -0400 diagnostics: refactor sarif_scheme_handler::make_sink No functional change intended. gcc/Cha

[gcc r16-1715] diagnostics, testsuite: don't assume host has "dot" [PR120809]

2025-06-26 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0e7296540be35831e791ffe9f419cd6107831fc9 commit r16-1715-g0e7296540be35831e791ffe9f419cd6107831fc9 Author: David Malcolm Date: Thu Jun 26 13:28:50 2025 -0400 diagnostics, testsuite: don't assume host has "dot" [PR120809] gcc/ChangeLog: PR analyzer

[gcc r16-1636] libgdiagnostics: sarif-replay: add extra sinks via -fdiagnostics-add-output= [PR116792, PR116163]

2025-06-23 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:d0142e147486e6f319704d35930720f6dec648fb commit r16-1636-gd0142e147486e6f319704d35930720f6dec648fb Author: David Malcolm Date: Mon Jun 23 18:46:51 2025 -0400 libgdiagnostics: sarif-replay: add extra sinks via -fdiagnostics-add-output= [PR116792,PR116163] Thi

[gcc r16-1635] analyzer: fix missing "final override"

2025-06-23 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e6406aefd1a25b6dba845a52cfd9484188ff5720 commit r16-1635-ge6406aefd1a25b6dba845a52cfd9484188ff5720 Author: David Malcolm Date: Mon Jun 23 18:46:44 2025 -0400 analyzer: fix missing "final override" No functional change intended. gcc/analyzer/ChangeLog

[gcc r16-1630] diagnostics: handle pp_token::kind::event_id in experimental-html sink [PR116792]

2025-06-23 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:5a64c96cfe7a4d5783319c2fb8472bc75d702e9a commit r16-1630-g5a64c96cfe7a4d5783319c2fb8472bc75d702e9a Author: David Malcolm Date: Mon Jun 23 11:06:33 2025 -0400 diagnostics: handle pp_token::kind::event_id in experimental-html sink [PR116792] gcc/ChangeLog:

[gcc r16-1567] analyzer: make checker_event::m_kind private

2025-06-18 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:4eb111363899a969c08de07c307d3b10cf99c0e0 commit r16-1567-g4eb111363899a969c08de07c307d3b10cf99c0e0 Author: David Malcolm Date: Wed Jun 18 18:01:14 2025 -0400 analyzer: make checker_event::m_kind private No functional change intended. gcc/analyzer/Cha

[gcc r16-1422] diagnostics: add selftests for html_token_printer [PR116792]

2025-06-11 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:f867196566c8aa51fd8b18dc5956daeea49e7518 commit r16-1422-gf867196566c8aa51fd8b18dc5956daeea49e7518 Author: David Malcolm Date: Wed Jun 11 14:21:41 2025 -0400 diagnostics: add selftests for html_token_printer [PR116792] No functional change intended.

[gcc r16-1404] diagnostics: fix tag nesting issues in experimental-html sink [PR120610]

2025-06-10 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:3dcce649a1e0833a4c3bb9ced4b9c0b38c3fb8a5 commit r16-1404-g3dcce649a1e0833a4c3bb9ced4b9c0b38c3fb8a5 Author: David Malcolm Date: Tue Jun 10 20:06:37 2025 -0400 diagnostics: fix tag nesting issues in experimental-html sink [PR120610] I've been seeing issues in t

[gcc r16-1405] diagnostics: xml: add add_text_from_pp

2025-06-10 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:896edb1d0ae90ff1f60a6b894f04eb3c436790f5 commit r16-1405-g896edb1d0ae90ff1f60a6b894f04eb3c436790f5 Author: David Malcolm Date: Tue Jun 10 20:06:38 2025 -0400 diagnostics: xml: add add_text_from_pp Various places use xp.add_text (pp_formatted_text (&pp))

[gcc r16-1406] diagnostics: make experimental-html sink prettier [PR116792]

2025-06-10 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:cb1d203445c923aa64bca01b0ffb6d3d16a82130 commit r16-1406-gcb1d203445c923aa64bca01b0ffb6d3d16a82130 Author: David Malcolm Date: Tue Jun 10 20:06:38 2025 -0400 diagnostics: make experimental-html sink prettier [PR116792] This patch to the "experimental-html" di

[gcc r16-1403] gimple-ssa-warn-access: add missing auto_diagnostic_group

2025-06-10 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:b619b4d7e7a5078d4fe8b1c4e89258ce4d21be4d commit r16-1403-gb619b4d7e7a5078d4fe8b1c4e89258ce4d21be4d Author: David Malcolm Date: Tue Jun 10 20:06:37 2025 -0400 gimple-ssa-warn-access: add missing auto_diagnostic_group Spotted whilst implementing nesting support

[gcc r16-1348] diagnostics: convert enum logical_location_kind to enum class

2025-06-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:bf0c6e1d34fd9cab0bef4d260f7e482e5fd4a371 commit r16-1348-gbf0c6e1d34fd9cab0bef4d260f7e482e5fd4a371 Author: David Malcolm Date: Mon Jun 9 14:15:25 2025 -0400 diagnostics: convert enum logical_location_kind to enum class No functional change intended.

[gcc r16-1344] diagnostics: fix of experimental-html output [PR116792]

2025-06-09 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:82de4cada8669639a8474808db48d63ffade2bcb commit r16-1344-g82de4cada8669639a8474808db48d63ffade2bcb Author: David Malcolm Date: Mon Jun 9 09:40:06 2025 -0400 diagnostics: fix of experimental-html output [PR116792] Add a new vfunc diagnostic_output_format::set

[gcc r16-1269] diagnostics: introduce xml::doctypedecl to avoid hardcoding html

2025-06-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:d5050287acd28cbe23df527605449f514a659bba commit r16-1269-gd5050287acd28cbe23df527605449f514a659bba Author: David Malcolm Date: Fri Jun 6 13:41:28 2025 -0400 diagnostics: introduce xml::doctypedecl to avoid hardcoding html As further generalization of XML supp

[gcc r16-1268] diagnostics: move xml defs to a new xml.cc

2025-06-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1233d79c1935f19104e76ba7aa842dc7ee6c2279 commit r16-1268-g1233d79c1935f19104e76ba7aa842dc7ee6c2279 Author: David Malcolm Date: Fri Jun 6 13:41:27 2025 -0400 diagnostics: move xml defs to a new xml.cc While prototyping new features I'm finding it helpful to us

[gcc r16-1266] text-art: allow wrapper_widget to have no child

2025-06-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:cda7145fa9e97f9f710a09339ea001fccb2662a2 commit r16-1266-gcda7145fa9e97f9f710a09339ea001fccb2662a2 Author: David Malcolm Date: Fri Jun 6 13:41:27 2025 -0400 text-art: allow wrapper_widget to have no child During prototyping a feature I found it useful for

[gcc r16-1267] selftest.h: fix sort order of decls

2025-06-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0401957b86fa29b25acf3e960e430e6a7c9196eb commit r16-1267-g0401957b86fa29b25acf3e960e430e6a7c9196eb Author: David Malcolm Date: Fri Jun 6 13:41:27 2025 -0400 selftest.h: fix sort order of decls No functional change intended. gcc/ChangeLog:

[gcc r16-1024] diagnostics: implement highlight-a vs -b in HTML output [PR116792]

2025-05-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a746747e2102c965a7736dc22ba56c3bc8e3e61e commit r16-1024-ga746747e2102c965a7736dc22ba56c3bc8e3e61e Author: David Malcolm Date: Fri May 30 19:57:46 2025 -0400 diagnostics: implement highlight-a vs -b in HTML output [PR116792] Update HTML output so that it rend

[gcc r16-1002] diagnostics: consolidate calls to colorizer::set_named_color

2025-05-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:333628a1e2964193c6d93da6332c52ba9e1640b5 commit r16-1002-g333628a1e2964193c6d93da6332c52ba9e1640b5 Author: David Malcolm Date: Fri May 30 07:18:44 2025 -0400 diagnostics: consolidate calls to colorizer::set_named_color I noticed whilst working on another issu

[gcc r16-975] diagnostics: fix PatternFly URL

2025-05-29 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8b3300fe2c2794ed23918e5cc9d3436a8a2751dc commit r16-975-g8b3300fe2c2794ed23918e5cc9d3436a8a2751dc Author: David Malcolm Date: Thu May 29 16:57:53 2025 -0400 diagnostics: fix PatternFly URL gcc/ChangeLog: * diagnostic-format-html.cc (HTML_STYLE): F

[gcc r16-974] diagnostics: reimplement html_token_printer in terms of xml::printer

2025-05-29 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:3d00efc156367ef8f84d90446bf6977b9fed66cf commit r16-974-g3d00efc156367ef8f84d90446bf6977b9fed66cf Author: David Malcolm Date: Thu May 29 16:57:52 2025 -0400 diagnostics: reimplement html_token_printer in terms of xml::printer No functional change intended.

[gcc r16-973] diagnostics: bulletproof html_builder::make_metadata_element

2025-05-29 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:554d2a2f0e200607dcdfbf15328800bc1c21e2fd commit r16-973-g554d2a2f0e200607dcdfbf15328800bc1c21e2fd Author: David Malcolm Date: Thu May 29 16:57:52 2025 -0400 diagnostics: bulletproof html_builder::make_metadata_element gcc/ChangeLog: * diagnostic-f

[gcc r16-972] diagnostics: use unique_ptr for m_format_postprocessor

2025-05-29 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:afee0b19dfdc39b555ac66209362d8df3e26afa7 commit r16-972-gafee0b19dfdc39b555ac66209362d8df3e26afa7 Author: David Malcolm Date: Thu May 29 16:57:52 2025 -0400 diagnostics: use unique_ptr for m_format_postprocessor No functional change intended. gcc/cp/

[gcc r16-579] diagnostics: improvements to experimental-html output [PR116792]

2025-05-12 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e4ccad8faf5266248993f7896b000ccf871ded30 commit r16-579-ge4ccad8faf5266248993f7896b000ccf871ded30 Author: David Malcolm Date: Mon May 12 21:45:36 2025 -0400 diagnostics: improvements to experimental-html output [PR116792] Add barebones support for * diagn

[gcc r16-487] diagnostics: convert HTML output test plugin to 'experimental-html' sink [PR116792]

2025-05-08 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1a2c62212bd912f5c8130e992ce282b542599f98 commit r16-487-g1a2c62212bd912f5c8130e992ce282b542599f98 Author: David Malcolm Date: Thu May 8 20:41:35 2025 -0400 diagnostics: convert HTML output test plugin to 'experimental-html' sink [PR116792] In r15-3752-g48261

[gcc r16-416] json: implement JSON pointer; use it in sarif-replay [PR117988]

2025-05-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:52fe9502eb153f87154cfcb6a58ab84164d7e1d9 commit r16-416-g52fe9502eb153f87154cfcb6a58ab84164d7e1d9 Author: David Malcolm Date: Tue May 6 09:26:19 2025 -0400 json: implement JSON pointer; use it in sarif-replay [PR117988] This patch extends our json class to tr

[gcc r16-417] diagnostics: use diagnostic_option_id in one more place

2025-05-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:f4fa41cd5ccbcc1a45e68c15bda2461e8d7215b9 commit r16-417-gf4fa41cd5ccbcc1a45e68c15bda2461e8d7215b9 Author: David Malcolm Date: Tue May 6 09:26:19 2025 -0400 diagnostics: use diagnostic_option_id in one more place No functional change intended. gcc/Cha

[gcc r16-414] sarif output: capture nesting of logical locations [PR116176]

2025-05-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:f25e178b8c2cc868168b0a29ab03260fbefa4ff7 commit r16-414-gf25e178b8c2cc868168b0a29ab03260fbefa4ff7 Author: David Malcolm Date: Tue May 6 09:26:18 2025 -0400 sarif output: capture nesting of logical locations [PR116176] Previously our SARIF output did not captu

[gcc r16-415] diagnostics: support XML and JSON kinds of logical locations

2025-05-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:9fb44cc4823106729d086713dd022a4590703a4c commit r16-415-g9fb44cc4823106729d086713dd022a4590703a4c Author: David Malcolm Date: Tue May 6 09:26:18 2025 -0400 diagnostics: support XML and JSON kinds of logical locations gcc/ChangeLog: * diagnostic-fo

[gcc r16-413] diagnostics: add logical_location_manager; reimplement logical_location

2025-05-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8ab6899dce92e6ef8cc55096789fcda60d4129cb commit r16-413-g8ab6899dce92e6ef8cc55096789fcda60d4129cb Author: David Malcolm Date: Tue May 6 09:26:17 2025 -0400 diagnostics: add logical_location_manager; reimplement logical_location Previously we used an abstract

[gcc r16-412] libgdiagnostics: add accessors for diagnostic_logical_location [LIBGDIAGNOSTICS_ABI_1]

2025-05-06 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:bf6d85490a2a95d251b88812dbf6d239be54ac18 commit r16-412-gbf6d85490a2a95d251b88812dbf6d239be54ac18 Author: David Malcolm Date: Tue May 6 09:26:17 2025 -0400 libgdiagnostics: add accessors for diagnostic_logical_location [LIBGDIAGNOSTICS_ABI_1] For followup wo

[gcc r16-314] sarif output: introduce sarif_serialization_format

2025-04-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:e504a59bd149f8def875f8924db8fa0c2a164c11 commit r16-314-ge504a59bd149f8def875f8924db8fa0c2a164c11 Author: David Malcolm Date: Wed Apr 30 16:50:16 2025 -0400 sarif output: introduce sarif_serialization_format The SARIF 2.1.0 spec says that although a "SARIF lo

[gcc r16-315] prime-paths.cc: remove redundant semicolons

2025-04-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8 commit r16-315-g49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8 Author: David Malcolm Date: Wed Apr 30 16:50:17 2025 -0400 prime-paths.cc: remove redundant semicolons Fixes a couple of pedantic warnings. gcc/ChangeLo

[gcc r16-313] analyzer: add more test coverage for sprintf

2025-04-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:8c80fc106482dd38c09f0e5a45b6d4dcb3498e50 commit r16-313-g8c80fc106482dd38c09f0e5a45b6d4dcb3498e50 Author: David Malcolm Date: Wed Apr 30 16:50:16 2025 -0400 analyzer: add more test coverage for sprintf gcc/testsuite/ChangeLog: PR analyzer/107017

[gcc r16-312] analyzer: avoid saying "'0' is NULL"

2025-04-30 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:039ba6580f5328acbca4f498f9d5d6055bf59ffa commit r16-312-g039ba6580f5328acbca4f498f9d5d6055bf59ffa Author: David Malcolm Date: Wed Apr 30 16:50:15 2025 -0400 analyzer: avoid saying "'0' is NULL" gcc/analyzer/ChangeLog: * sm-malloc.cc (malloc_diagno

[gcc r16-266] analyzer: handle NRVO and DECL_BY_REFERENCE [PR111536]

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:a1922f0252b3b09016df76bd5b10119206935e37 commit r16-266-ga1922f0252b3b09016df76bd5b10119206935e37 Author: David Malcolm Date: Mon Apr 28 18:21:25 2025 -0400 analyzer: handle NRVO and DECL_BY_REFERENCE [PR111536] The analyzer was issuing false warnings about u

[gcc r16-265] analyzer: fix null deref false negative on std::unique_ptr [PR109366]

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:2a63dc8c65d469e1d7ac3d764179653bf0ec843f commit r16-265-g2a63dc8c65d469e1d7ac3d764179653bf0ec843f Author: David Malcolm Date: Mon Apr 28 18:21:24 2025 -0400 analyzer: fix null deref false negative on std::unique_ptr [PR109366] gcc/analyzer/ChangeLog:

[gcc r16-263] analyzer, c++: add placeholder implementation of ana::translation_unit for C++

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:13f4b12393fa9813b57f5d2dff0753945a2812ce commit r16-263-g13f4b12393fa9813b57f5d2dff0753945a2812ce Author: David Malcolm Date: Mon Apr 28 18:21:23 2025 -0400 analyzer,c++: add placeholder implementation of ana::translation_unit for C++ Implement ana::translat

[gcc r16-259] analyzer: convert gcall * to gcall & in many places

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:c2f8c7ad2db225b55fb2ce53ed4a2d107b4f850c commit r16-259-gc2f8c7ad2db225b55fb2ce53ed4a2d107b4f850c Author: David Malcolm Date: Mon Apr 28 18:21:21 2025 -0400 analyzer: convert gcall * to gcall & in many places No functional change intended. gcc/analyz

gcc-cvs@gcc.gnu.org

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:4e1f545df9da1d2e6f9189c6d289a4875f1e24e3 commit r16-260-g4e1f545df9da1d2e6f9189c6d289a4875f1e24e3 Author: David Malcolm Date: Mon Apr 28 18:21:22 2025 -0400 analyzer: convert various call_summary * to call_summary & No functional change intended. gcc

[gcc r16-261] analyzer: use unique_ptr for state_machine instances

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:6f9764571d2dd1b03e41be18b0bcd4fa445b958f commit r16-261-g6f9764571d2dd1b03e41be18b0bcd4fa445b958f Author: David Malcolm Date: Mon Apr 28 18:21:22 2025 -0400 analyzer: use unique_ptr for state_machine instances gcc/analyzer/ChangeLog: * engine.cc (

[gcc r16-258] analyzer: convert various enums to "enum class"

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:978e9dfc0a1331ba06763a95b44dacf7f0e83613 commit r16-258-g978e9dfc0a1331ba06763a95b44dacf7f0e83613 Author: David Malcolm Date: Mon Apr 28 18:21:21 2025 -0400 analyzer: convert various enums to "enum class" Modernization; no functional change intended.

[gcc r16-257] analyzer: use analyzer/common.h as a common header

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:d0500cd5e249d57960c61484094d74ffd06655fd commit r16-257-gd0500cd5e249d57960c61484094d74ffd06655fd Author: David Malcolm Date: Mon Apr 28 18:21:21 2025 -0400 analyzer: use analyzer/common.h as a common header Our headers are a major pain to work with: many req

[gcc r16-256] analyzer: fail if we see unexpected gimple stmt codes

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:5ecea59621c63abdfdb4c91f8c37ab68b40b5b75 commit r16-256-g5ecea59621c63abdfdb4c91f8c37ab68b40b5b75 Author: David Malcolm Date: Mon Apr 28 18:21:20 2025 -0400 analyzer: fail if we see unexpected gimple stmt codes gcc/analyzer/ChangeLog: * region-mod

[gcc r16-254] pass_manager: add m_ prefix to pass fields accessed via passes.def

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:1dc8916bcbb14c859def696be9d76f25e69c9b57 commit r16-254-g1dc8916bcbb14c859def696be9d76f25e69c9b57 Author: David Malcolm Date: Mon Apr 28 18:21:19 2025 -0400 pass_manager: add m_ prefix to pass fields accessed via passes.def Make it clearer when we're accessin

[gcc r16-255] analyzer: add a call_details::dump (using text_art)

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0ef00f71969f200589355eb96a393b584340c0cf commit r16-255-g0ef00f71969f200589355eb96a393b584340c0cf Author: David Malcolm Date: Mon Apr 28 18:21:20 2025 -0400 analyzer: add a call_details::dump (using text_art) Add a new function to help debugging -fanalyzer.

[gcc r16-253] c, c++: use unique_ptr in name_hint to reduce naked 'new'

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:9c4336cbf0522876ca3e81a2b5a71c8294441b81 commit r16-253-g9c4336cbf0522876ca3e81a2b5a71c8294441b81 Author: David Malcolm Date: Mon Apr 28 18:21:19 2025 -0400 c,c++: use unique_ptr in name_hint to reduce naked 'new' gcc/c-family/ChangeLog: * name-hi

[gcc r16-251] diagnostics: make diagnostic_context::m_abort_on_error private

2025-04-28 Thread David Malcolm via Gcc-cvs
https://gcc.gnu.org/g:0c5b98be0806e275685a2803c49a695328f5dd8b commit r16-251-g0c5b98be0806e275685a2803c49a695328f5dd8b Author: David Malcolm Date: Mon Apr 28 18:21:18 2025 -0400 diagnostics: make diagnostic_context::m_abort_on_error private No functional change intended.

  1   2   3   4   >