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 |
void diagnostic_event::meaning::dump_to_pp | ( | pretty_printer * | pp | ) | const |
class diagnostic_event.
struct diagnostic_event::meaning.
References ggc_alloc(), 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().
Get a string (or NULL) for N suitable for use within a SARIF threadFlowLocation "kinds" property (SARIF v2.1.0 section 3.38.8).
References gcc_unreachable, diagnostic_event::NOUN_function, diagnostic_event::NOUN_lock, diagnostic_event::NOUN_memory, diagnostic_event::NOUN_resource, diagnostic_event::NOUN_sensitive, diagnostic_event::NOUN_taint, diagnostic_event::NOUN_unknown, and NULL.
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
Get a string (or NULL) for P suitable for use within a SARIF threadFlowLocation "kinds" property (SARIF v2.1.0 section 3.38.8).
References gcc_unreachable, NULL, diagnostic_event::PROPERTY_false, diagnostic_event::PROPERTY_true, and diagnostic_event::PROPERTY_unknown.
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
Get a string (or NULL) for V suitable for use within a SARIF threadFlowLocation "kinds" property (SARIF v2.1.0 section 3.38.8).
References gcc_unreachable, NULL, diagnostic_event::VERB_acquire, diagnostic_event::VERB_branch, diagnostic_event::VERB_call, diagnostic_event::VERB_danger, diagnostic_event::VERB_enter, diagnostic_event::VERB_exit, diagnostic_event::VERB_release, diagnostic_event::VERB_return, and diagnostic_event::VERB_unknown.
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().
Referenced by dump_to_pp(), and sarif_builder::maybe_make_kinds_array().