|
GCC Middle and Back End API 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"
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_hooks > | make_compiler_data_hooks () |
| #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-2026 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/>.
| 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).
Factory function for making an instance of client_data_hooks for use in the compiler (i.e. with knowledge of "tree", access to langhooks, etc).
Referenced by tree_diagnostics_defaults().