GCC Middle and Back End API Reference
|
#include <opts-diagnostic.h>
Public Member Functions | |
char * | make_option_url (diagnostic_option_id option_id) const final override |
virtual int | option_enabled_p (diagnostic_option_id option_id) const =0 |
virtual char * | make_option_name (diagnostic_option_id option_id, diagnostic_t orig_diag_kind, diagnostic_t diag_kind) const =0 |
Protected Member Functions | |
gcc_diagnostic_option_manager (unsigned lang_mask) | |
Protected Attributes | |
unsigned | m_lang_mask |
Command line option handling. Interactions with diagnostics code. Copyright (C) 2010-2024 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Abstract subclass of diagnostic_option_manager for gcc options.
|
inlineprotected |
|
pure virtualinherited |
Implemented in compiler_diagnostic_option_manager, and lto_diagnostic_option_manager.
Referenced by diagnostic_context::make_option_name().
|
finaloverridevirtual |
Return malloced memory for a URL describing the option OPTION_INDEX which enabled a diagnostic.
Implements diagnostic_option_manager.
References get_option_url_suffix(), diagnostic_option_id::m_idx, and m_lang_mask.
|
pure virtualinherited |
Implemented in compiler_diagnostic_option_manager, and lto_diagnostic_option_manager.
Referenced by diagnostic_context::option_enabled_p().
|
protected |
Referenced by make_option_url(), and compiler_diagnostic_option_manager::option_enabled_p().