21#ifndef GCC_DIAGNOSTIC_PATH_H
22#define GCC_DIAGNOSTIC_PATH_H
150 virtual label_text
get_desc (
bool can_colorize)
const = 0;
180 virtual label_text
get_name (
bool can_colorize)
const = 0;
199 int event_idx_b)
const = 0;
Definition diagnostic-path.h:70
noun
Definition diagnostic-path.h:89
@ NOUN_resource
Definition diagnostic-path.h:97
@ NOUN_taint
Definition diagnostic-path.h:92
@ NOUN_function
Definition diagnostic-path.h:94
@ NOUN_lock
Definition diagnostic-path.h:95
@ NOUN_unknown
Definition diagnostic-path.h:90
@ NOUN_memory
Definition diagnostic-path.h:96
@ NOUN_sensitive
Definition diagnostic-path.h:93
virtual ~diagnostic_event()
Definition diagnostic-path.h:141
virtual void maybe_add_sarif_properties(sarif_object &) const
Definition diagnostic-path.h:166
verb
Definition diagnostic-path.h:75
@ VERB_danger
Definition diagnostic-path.h:86
@ VERB_return
Definition diagnostic-path.h:83
@ VERB_branch
Definition diagnostic-path.h:84
@ VERB_acquire
Definition diagnostic-path.h:78
@ VERB_call
Definition diagnostic-path.h:82
@ VERB_enter
Definition diagnostic-path.h:80
@ VERB_release
Definition diagnostic-path.h:79
@ VERB_unknown
Definition diagnostic-path.h:76
@ VERB_exit
Definition diagnostic-path.h:81
virtual const logical_location * get_logical_location() const =0
virtual int get_stack_depth() const =0
virtual location_t get_location() const =0
virtual bool connect_to_next_event_p() const =0
virtual meaning get_meaning() const =0
virtual diagnostic_thread_id_t get_thread_id() const =0
virtual label_text get_desc(bool can_colorize) const =0
property
Definition diagnostic-path.h:100
@ PROPERTY_unknown
Definition diagnostic-path.h:101
@ PROPERTY_false
Definition diagnostic-path.h:104
@ PROPERTY_true
Definition diagnostic-path.h:103
Definition diagnostic-path.h:186
virtual const diagnostic_event & get_event(int idx) const =0
bool multithreaded_p() const
virtual unsigned num_events() const =0
virtual unsigned num_threads() const =0
virtual ~diagnostic_path()
Definition diagnostic-path.h:188
bool interprocedural_p() const
Definition diagnostic-path.cc:186
virtual const diagnostic_thread & get_thread(diagnostic_thread_id_t) const =0
bool get_first_event_in_a_function(unsigned *out_idx) const
Definition diagnostic-path.cc:166
virtual bool same_function_p(int event_idx_a, int event_idx_b) const =0
Definition diagnostic-path.h:177
virtual ~diagnostic_thread()
Definition diagnostic-path.h:179
virtual label_text get_name(bool can_colorize) const =0
Definition logical-location.h:55
Definition pretty-print.h:238
Definition diagnostic-format-sarif.h:42
bool debug
Definition collect-utils.cc:34
int diagnostic_thread_id_t
Definition diagnostic-event-id.h:70
Definition diagnostic-path.h:114
static const char * maybe_get_noun_str(enum noun)
Definition diagnostic-path.cc:115
meaning()
Definition diagnostic-path.h:115
static const char * maybe_get_property_str(enum property)
Definition diagnostic-path.cc:142
meaning(enum verb verb, enum property property)
Definition diagnostic-path.h:125
enum verb m_verb
Definition diagnostic-path.h:136
void dump_to_pp(pretty_printer *pp) const
Definition diagnostic-path.cc:54
enum property m_property
Definition diagnostic-path.h:138
enum noun m_noun
Definition diagnostic-path.h:137
static const char * maybe_get_verb_str(enum verb)
Definition diagnostic-path.cc:84
meaning(enum verb verb, enum noun noun)
Definition diagnostic-path.h:121