GCC Middle and Back End API Reference
compiler_diagnostic_client_plugin_info Class Reference
Inheritance diagram for compiler_diagnostic_client_plugin_info:
Collaboration diagram for compiler_diagnostic_client_plugin_info:

Public Member Functions

 compiler_diagnostic_client_plugin_info (const plugin_name_args *args)
 
const char * get_short_name () const final override
 
const char * get_full_name () const final override
 
const char * get_version () const final override
 

Private Attributes

const plugin_name_argsm_args
 

Detailed Description

Implementation of diagnostic_client_data_hooks for the compilers (e.g. with knowledge of "tree", lang_hooks, and timevars). Copyright (C) 2022-2025 Free Software Foundation, Inc. Contributed by David Malcolm <dmalcolm@redhat.com>. 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/>.
Concrete class for supplying a diagnostic_context with information about a specific plugin within the client, when the client is the compiler (i.e. a GCC plugin).

Constructor & Destructor Documentation

◆ compiler_diagnostic_client_plugin_info()

compiler_diagnostic_client_plugin_info::compiler_diagnostic_client_plugin_info ( const plugin_name_args * args)
inline

References m_args.

Member Function Documentation

◆ get_full_name()

const char * compiler_diagnostic_client_plugin_info::get_full_name ( ) const
inlinefinaloverridevirtual

Implements diagnostic_client_plugin_info.

References final(), and m_args.

◆ get_short_name()

const char * compiler_diagnostic_client_plugin_info::get_short_name ( ) const
inlinefinaloverridevirtual

Implements diagnostic_client_plugin_info.

References final(), and m_args.

◆ get_version()

const char * compiler_diagnostic_client_plugin_info::get_version ( ) const
inlinefinaloverridevirtual

Implements diagnostic_client_plugin_info.

References final(), and m_args.

Field Documentation

◆ m_args

const plugin_name_args* compiler_diagnostic_client_plugin_info::m_args
private

The documentation for this class was generated from the following file: