GCC Middle and Back End API Reference
|
#include <diagnostic-path.h>
Public Member Functions | |
meaning () | |
meaning (enum verb verb, enum noun noun) | |
meaning (enum verb verb, enum property property) | |
void | dump_to_pp (pretty_printer *pp) const |
Static Public Member Functions | |
static const char * | maybe_get_verb_str (enum verb) |
static const char * | maybe_get_noun_str (enum noun) |
static const char * | maybe_get_property_str (enum property) |
Data Fields | |
enum verb | m_verb |
enum noun | m_noun |
enum property | m_property |
|
inline |
References m_noun, m_property, m_verb, and diagnostic_event::unknown.
References m_noun, m_property, m_verb, and diagnostic_event::unknown.
References m_noun, m_property, m_verb, and diagnostic_event::unknown.
void diagnostic_event::meaning::dump_to_pp | ( | pretty_printer * | pp | ) | const |
Disable warnings about missing quoting in GCC diagnostics for the print calls below.
class diagnostic_event.
struct diagnostic_event::meaning.
References m_noun, m_property, m_verb, maybe_get_noun_str(), maybe_get_property_str(), maybe_get_verb_str(), pp_character(), pp_printf(), and pp_string().
|
static |
Get a string (or nullptr) for N suitable for use within a SARIF threadFlowLocation "kinds" property (SARIF v2.1.0 section 3.38.8).
References diagnostic_event::function, gcc_unreachable, diagnostic_event::lock, diagnostic_event::memory, diagnostic_event::resource, diagnostic_event::sensitive, diagnostic_event::taint, and diagnostic_event::unknown.
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
|
static |
Get a string (or nullptr) for P suitable for use within a SARIF threadFlowLocation "kinds" property (SARIF v2.1.0 section 3.38.8).
References diagnostic_event::false_, gcc_unreachable, diagnostic_event::true_, and diagnostic_event::unknown.
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
|
static |
Get a string (or nullptr) for V suitable for use within a SARIF threadFlowLocation "kinds" property (SARIF v2.1.0 section 3.38.8).
References diagnostic_event::acquire, diagnostic_event::branch, diagnostic_event::call, diagnostic_event::danger, diagnostic_event::enter, diagnostic_event::exit, gcc_unreachable, diagnostic_event::release, diagnostic_event::return_, and diagnostic_event::unknown.
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
enum noun diagnostic_event::meaning::m_noun |
Referenced by dump_to_pp(), sarif_builder::maybe_make_kinds_array(), meaning(), meaning(), and meaning().
enum property diagnostic_event::meaning::m_property |
Referenced by dump_to_pp(), sarif_builder::maybe_make_kinds_array(), meaning(), meaning(), and meaning().
enum verb diagnostic_event::meaning::m_verb |
Referenced by dump_to_pp(), sarif_builder::maybe_make_kinds_array(), meaning(), meaning(), and meaning().