GCC Middle and Back End API Reference
|
#include <diagnostic-path.h>
Public Types | |
enum | verb { VERB_unknown , VERB_acquire , VERB_release , VERB_enter , VERB_exit , VERB_call , VERB_return , VERB_branch , VERB_danger } |
enum | noun { NOUN_unknown , NOUN_taint , NOUN_sensitive , NOUN_function , NOUN_lock , NOUN_memory , NOUN_resource } |
enum | property { PROPERTY_unknown , PROPERTY_true , PROPERTY_false } |
Public Member Functions | |
simple_diagnostic_event (location_t loc, tree fndecl, int depth, const char *desc, diagnostic_thread_id_t thread_id=0) | |
~simple_diagnostic_event () | |
location_t | get_location () const final override |
tree | get_fndecl () const final override |
int | get_stack_depth () const final override |
label_text | get_desc (bool) const final override |
const logical_location * | get_logical_location () const final override |
meaning | get_meaning () const final override |
bool | connect_to_next_event_p () const final override |
diagnostic_thread_id_t | get_thread_id () const final override |
void | connect_to_next_event () |
virtual void | maybe_add_sarif_properties (sarif_object &) const |
Private Attributes | |
location_t | m_loc |
tree | m_fndecl |
int | m_depth |
char * | m_desc |
bool | m_connected_to_next_event |
diagnostic_thread_id_t | m_thread_id |
Concrete subclasses.
A simple implementation of diagnostic_event.
|
inherited |
|
inherited |
|
inherited |
simple_diagnostic_event::simple_diagnostic_event | ( | location_t | loc, |
tree | fndecl, | ||
int | depth, | ||
const char * | desc, | ||
diagnostic_thread_id_t | thread_id = 0 ) |
struct simple_diagnostic_event.
simple_diagnostic_event's ctor.
simple_diagnostic_event::~simple_diagnostic_event | ( | ) |
|
inline |
References m_connected_to_next_event.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References m_connected_to_next_event.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References m_desc.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References m_fndecl.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References m_loc.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References NULL.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References m_depth.
|
inlinefinaloverridevirtual |
Implements diagnostic_event.
References m_thread_id.
|
inlinevirtualinherited |
Reimplemented in ana::checker_event, and ana::superedge_event.
|
private |
Referenced by connect_to_next_event(), and connect_to_next_event_p().
|
private |
Referenced by get_stack_depth().
|
private |
Referenced by get_desc(), and ~simple_diagnostic_event().
|
private |
Referenced by get_fndecl().
|
private |
Referenced by get_location().
|
private |
Referenced by get_thread_id().