GCC Middle and Back End API Reference
tree-diagnostic-client-data-hooks.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "version.h"
#include "tree.h"
#include "diagnostic.h"
#include "tree-logical-location.h"
#include "diagnostics/client-data-hooks.h"
#include "diagnostics/sarif-sink.h"
#include "langhooks.h"
#include "plugin.h"
#include "timevar.h"
Include dependency graph for tree-diagnostic-client-data-hooks.cc:

Data Structures

class  compiler_diagnostic_client_plugin_info
class  compiler_version_info
class  compiler_data_hooks

Macros

#define INCLUDE_VECTOR

Functions

std::unique_ptr< diagnostics::client_data_hooksmake_compiler_data_hooks ()

Macro Definition Documentation

◆ INCLUDE_VECTOR

#define INCLUDE_VECTOR
Implementation of diagnostics::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/>.   

Function Documentation

◆ make_compiler_data_hooks()

std::unique_ptr< diagnostics::client_data_hooks > make_compiler_data_hooks ( )
Create a compiler_data_hooks (so that the class can be local
to this file).   

Referenced by tree_diagnostics_defaults().