Go to the source code of this file.
|  | 
| diagnostic_output_file | diagnostic_output_format_open_sarif_file (diagnostic_context &context, line_maps *line_maps, const char *base_file_name, enum sarif_serialization_kind serialization_kind) | 
| diagnostic_output_format & | diagnostic_output_format_init_sarif_stderr (diagnostic_context &context, const line_maps *line_maps, bool formatted) | 
| diagnostic_output_format & | diagnostic_output_format_init_sarif_file (diagnostic_context &context, line_maps *line_maps, bool formatted, const char *base_file_name) | 
| diagnostic_output_format & | diagnostic_output_format_init_sarif_stream (diagnostic_context &context, const line_maps *line_maps, bool formatted, FILE *stream) | 
| std::unique_ptr< diagnostic_output_format > | make_sarif_sink (diagnostic_context &context, const line_maps &line_maps, std::unique_ptr< sarif_serialization_format > serialization_format, const sarif_generation_options &sarif_gen_opts, diagnostic_output_file output_file) | 
| std::unique_ptr< sarif_graph > | make_sarif_graph (const diagnostics::digraphs::digraph &g, sarif_builder *builder, sarif_location_manager *sarif_location_mgr) | 
| std::unique_ptr< sarif_node > | make_sarif_node (const diagnostics::digraphs::node &n, sarif_builder *builder, sarif_location_manager *sarif_location_mgr) | 
| std::unique_ptr< sarif_edge > | make_sarif_edge (const diagnostics::digraphs::edge &e, sarif_builder *builder) | 
◆ sarif_serialization_kind
SARIF output for diagnostics.
   Copyright (C) 2023-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/>.   
 Enum for choosing what format to serializing the generated SARIF into.   
 
| Enumerator | 
|---|
| json |  | 
| num_values |  | 
 
 
◆ sarif_version
Control of SARIF generation.   
 
| Enumerator | 
|---|
| v2_1_0 |  | 
| v2_2_prerelease_2024_08_08 |  | 
| num_versions |  | 
 
 
◆ diagnostic_output_format_init_sarif_file()
◆ diagnostic_output_format_init_sarif_stderr()
◆ diagnostic_output_format_init_sarif_stream()
◆ diagnostic_output_format_open_sarif_file()
◆ make_sarif_edge()
◆ make_sarif_graph()
◆ make_sarif_node()
◆ make_sarif_sink()