GCC Middle and Back End API Reference
compiler_extension_factory Class Reference

#include <tree-diagnostic-sink-extensions.h>

Inheritance diagram for compiler_extension_factory:
Collaboration diagram for compiler_extension_factory:

Public Member Functions

std::unique_ptr< diagnostics::sink::extensionmake_cfg_extension (diagnostics::sink &sink) const final override

Static Public Attributes

static const gcc_extension_factorysingleton

Detailed Description

Compiler-specific implementation of GCC extensions to diagnostic output.
   Copyright (C) 2025 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/>.   

Member Function Documentation

◆ make_cfg_extension()

std::unique_ptr< diagnostics::sink::extension > compiler_extension_factory::make_cfg_extension ( diagnostics::sink & sink) const
finaloverridevirtual

Implements gcc_extension_factory.

Field Documentation

◆ singleton

const gcc_extension_factory * gcc_extension_factory::singleton
staticinherited

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