20#ifndef GCC_RICH_LOCATION_H
21#define GCC_RICH_LOCATION_H
23#include "rich-location.h"
71 const range_label *label =
NULL);
120 return label_text::borrow (
m_text);
Definition gcc-rich-location.h:214
static bool use_operator_loc_p(const op_location_t &loc, tree arg0, tree arg1)
Definition gcc-rich-location.cc:259
maybe_range_label_for_tree_type_mismatch m_label_for_arg1
Definition gcc-rich-location.h:225
binary_op_rich_location(const op_location_t &loc, tree arg0, tree arg1, bool show_types)
Definition gcc-rich-location.cc:234
maybe_range_label_for_tree_type_mismatch m_label_for_arg0
Definition gcc-rich-location.h:224
Definition genmatch.cc:845
Definition gcc-rich-location.h:30
void add_expr(tree expr, range_label *label)
Definition gcc-rich-location.cc:45
bool add_location_if_nearby(location_t loc, bool restrict_to_current_line_spans=true, const range_label *label=NULL)
Definition diagnostic-show-locus.cc:3157
void add_fixit_insert_formatted(const char *content, location_t insertion_point, location_t indent)
Definition gcc-rich-location.cc:162
void add_fixit_misspelled_id(location_t misspelled_token_loc, tree hint_id)
Definition gcc-rich-location.cc:67
void maybe_add_expr(tree t, range_label *label)
Definition gcc-rich-location.cc:57
gcc_rich_location(location_t loc, const range_label *label=NULL)
Definition gcc-rich-location.h:35
Definition gcc-rich-location.h:176
label_text get_text(unsigned range_idx) const final override
Definition gcc-rich-location.cc:198
tree m_expr
Definition gcc-rich-location.h:186
maybe_range_label_for_tree_type_mismatch(tree expr, tree other_expr)
Definition gcc-rich-location.h:178
tree m_other_expr
Definition gcc-rich-location.h:187
Definition gcc-rich-location.h:157
range_label_for_type_mismatch(tree labelled_type, tree other_type)
Definition gcc-rich-location.h:159
label_text get_text(unsigned range_idx) const override
tree m_labelled_type
Definition gcc-rich-location.h:167
tree m_other_type
Definition gcc-rich-location.h:168
Definition gcc-rich-location.h:114
label_text get_text(unsigned) const final override
Definition gcc-rich-location.h:118
const char * m_text
Definition gcc-rich-location.h:124
text_range_label(const char *text)
Definition gcc-rich-location.h:116
union tree_node * tree
Definition coretypes.h:97
static class line_maps * line_table
Definition genmatch.cc:55
T * ggc_alloc(ALONE_CXX_MEM_STAT_INFO)
Definition ggc.h:184
#define NULL
Definition system.h:50