diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-09-02 15:58:26 -0700 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-09-02 15:58:26 -0700 |
commit | 071b4126c613881f4cb25b4e5c39032964827f88 (patch) | |
tree | 7ed805786566918630d1d617b1ed8f7310f5fd8e /gcc/diagnostics/lazy-paths.cc | |
parent | 845d23f3ea08ba873197c275a8857eee7edad996 (diff) | |
parent | caa1c2f42691d68af4d894a5c3e700ecd2dba080 (diff) | |
download | gcc-devel/gfortran-test.zip gcc-devel/gfortran-test.tar.gz gcc-devel/gfortran-test.tar.bz2 |
Merge branch 'master' into gfortran-testdevel/gfortran-test
Diffstat (limited to 'gcc/diagnostics/lazy-paths.cc')
-rw-r--r-- | gcc/diagnostics/lazy-paths.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/diagnostics/lazy-paths.cc b/gcc/diagnostics/lazy-paths.cc index 4934651..f246eea 100644 --- a/gcc/diagnostics/lazy-paths.cc +++ b/gcc/diagnostics/lazy-paths.cc @@ -125,12 +125,12 @@ test_intraprocedural_path (pretty_printer *event_pp) "double `free'"); } -/* Implementation of diagnostics::option_manager for which all +/* Implementation of diagnostics::option_id_manager for which all options are disabled, for use in selftests. Note that this is *not* called for option_id (0), which means "always warn" */ -class all_warnings_disabled : public diagnostics::option_manager +class all_warnings_disabled : public diagnostics::option_id_manager { public: int option_enabled_p (diagnostics::option_id) const final override @@ -168,7 +168,7 @@ test_emission (pretty_printer *event_pp) is skipped. */ { test_context dc; - dc.set_option_manager (std::make_unique<all_warnings_disabled> (), 0); + dc.set_option_id_manager (std::make_unique<all_warnings_disabled> (), 0); test_rich_location rich_loc (*event_pp); ASSERT_FALSE (rich_loc.m_path.generated_p ()); |