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

Go to the source code of this file.

Data Structures

class  gcc_json_context

Functions

void json_error (gcc_json_context &ctxt, const json::value &js_val, const char *gmsgid,...) ATTRIBUTE_GCC_DIAG(3
void bool json_warning (gcc_json_context &ctxt, const json::value &js_val, diagnostics::option_id option_id, const char *gmsgid,...) ATTRIBUTE_GCC_DIAG(4
void bool void json_note (gcc_json_context &ctxt, const json::value &js_val, const char *gmsgid,...) ATTRIBUTE_GCC_DIAG(3

Function Documentation

◆ json_error()

void json_error ( gcc_json_context & ctxt,
const json::value & js_val,
const char * gmsgid,
... )
extern
Emit an error on gcc's global_dc relating to JS_VAL.   

References ATTRIBUTE_GCC_DIAG.

◆ json_note()

void bool void json_note ( gcc_json_context & ctxt,
const json::value & js_val,
const char * gmsgid,
... )
extern
Emit a note on gcc's global_dc relating to JS_VAL.   

References ATTRIBUTE_GCC_DIAG, and json_note().

◆ json_warning()

void bool json_warning ( gcc_json_context & ctxt,
const json::value & js_val,
diagnostics::option_id option_id,
const char * gmsgid,
... )
extern
Emit a warning on gcc's global_dc relating to JS_VAL.   

References ATTRIBUTE_GCC_DIAG, and json_warning().