aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.cc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2023-11-16 08:29:19 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2023-11-16 08:29:19 -0500
commit4547c271c455dcf54ce9c4bb820acdd3b6193f6d (patch)
tree48481e00f2fefbf6d1493e2a07ef2142f81133c9 /gcc/gcov.cc
parent7a496b7ce105185be12e023e749c90d5f7561879 (diff)
downloadgcc-4547c271c455dcf54ce9c4bb820acdd3b6193f6d.zip
gcc-4547c271c455dcf54ce9c4bb820acdd3b6193f6d.tar.gz
gcc-4547c271c455dcf54ce9c4bb820acdd3b6193f6d.tar.bz2
diagnostics: make m_lang_mask private
No functional change intended. gcc/ChangeLog: * diagnostic.cc (diagnostic_context::set_option_hooks): Add "lang_mask" param. * diagnostic.h (diagnostic_context::option_enabled_p): Update for move of m_lang_mask. (diagnostic_context::set_option_hooks): Add "lang_mask" param. (diagnostic_context::get_lang_mask): New. (diagnostic_context::m_lang_mask): Move into m_option_callbacks, thus making private. * lto-wrapper.cc (main): Update for new lang_mask param of set_option_hooks. * toplev.cc (init_asm_output): Use get_lang_mask. (general_init): Move initialization of global_dc's lang_mask to new lang_mask param of set_option_hooks. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/gcov.cc')
0 files changed, 0 insertions, 0 deletions