GCC Middle and Back End API Reference
libsarifreplay.h File Reference
#include "libgdiagnostics.h"
Include dependency graph for libsarifreplay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  replay_options
 

Functions

int sarif_replay_path (const char *sarif_file, diagnostic_manager *output_manager, diagnostic_manager *control_manager, const replay_options *options) LIBGDIAGNOSTICS_PARAM_MUST_BE_NON_NULL(4)
 

Function Documentation

◆ sarif_replay_path()

int sarif_replay_path ( const char * sarif_file,
diagnostic_manager * output_manager,
diagnostic_manager * control_manager,
const replay_options * options )
extern
Attempt to load a .sarif file from SARIF_FILE, and
replay the diagnostics to OUTPUT_MANAGER.
Report any problems to CONTROL_MANAGER (such as
file-not-found, malformed .sarif, etc).
If ALLOW_JSON_COMMENTS is true, then allow C/C++ style comments
in the file.
If ECHO_FILE, then dump the filename and contents to stderr.   
Public entrypoint.   

References FAIL_IF_NULL, and r.

Referenced by main().