diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-05-28 13:04:26 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-05-28 13:04:26 -0400 |
commit | 2dbb1c124c1e585dc413132d7a8d4be62c6b7baa (patch) | |
tree | 811abafc6c4d1c86bc2fc736d0e2b695c8f9bc97 /libcpp | |
parent | b544ff88560e100e53ed8966d38f172c5bafce8d (diff) | |
download | gcc-2dbb1c124c1e585dc413132d7a8d4be62c6b7baa.zip gcc-2dbb1c124c1e585dc413132d7a8d4be62c6b7baa.tar.gz gcc-2dbb1c124c1e585dc413132d7a8d4be62c6b7baa.tar.bz2 |
diagnostics: disable localization of events in selftest paths [PR115203]
gcc/ChangeLog:
PR analyzer/115203
* diagnostic-path.h
(simple_diagnostic_path::disable_event_localization): New.
(simple_diagnostic_path::m_localize_events): New field.
* diagnostic.cc
(simple_diagnostic_path::simple_diagnostic_path): Initialize
m_localize_events.
(simple_diagnostic_path::add_event): Only localize fmt if
m_localize_events is true.
* tree-diagnostic-path.cc
(test_diagnostic_path::test_diagnostic_path): Call
disable_event_localization.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions