]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: rename option_manager to option_id_manager and split out from context.h
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 4 Aug 2025 14:45:30 +0000 (10:45 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 4 Aug 2025 14:45:30 +0000 (10:45 -0400)
commit268ec60da01c67d346df9504fb2a60050259738d
treed19b5bdbeeb35e7289bfe5b971870ea1848906c2
parent3cff171b243f4d59b1b93a171050633f5eb5bf5e
diagnostics: rename option_manager to option_id_manager and split out from context.h

This patch splits out class option_manager to its own header,
and renames it to class option_id_manager to better describe its
purpose.

No functional change intended.

gcc/ChangeLog:
* diagnostics/context.cc: Update for renaming of option_manager to
option_id_manager and of context::m_option_mgr to
context::m_option_id_mgr.
* diagnostics/context.h: Likewise, moving class declaration to a
new diagnostics/option-id-manager.h.
* diagnostics/lazy-paths.cc: Likewise.
* diagnostics/option-id-manager.h: New file, from material in
diagnostics/context.h.
* lto-wrapper.cc: Update for renaming of option_manager to
option_id_manager.
* opts-common.cc: Likewise.
* opts-diagnostic.h: Likewise.
* opts.cc: Likewise.
* toplev.cc: Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostics/context.cc
gcc/diagnostics/context.h
gcc/diagnostics/lazy-paths.cc
gcc/diagnostics/option-id-manager.h [new file with mode: 0644]
gcc/lto-wrapper.cc
gcc/opts-common.cc
gcc/opts-diagnostic.h
gcc/opts.cc
gcc/toplev.cc