20#ifndef GCC_RICH_LOCATION_H
21#define GCC_RICH_LOCATION_H
23#include "rich-location.h"
38 : rich_location (
line_table, loc, nullptr, nullptr)
44 const range_label *label,
45 const char *highlight_color)
46 : rich_location (
line_table, loc, label, highlight_color)
54 const char *highlight_color);
59 const char *highlight_color);
86 bool restrict_to_current_line_spans =
true,
87 const range_label *label =
NULL);
91 bool restrict_to_current_line_spans =
true,
92 const range_label *label =
NULL);
127 location_t insertion_point,
Definition diagnostic.h:458
Definition diagnostic.h:406
Definition genmatch.cc:832
Definition gcc-rich-location.h:32
gcc_rich_location(location_t loc, const range_label *label, const char *highlight_color)
Definition gcc-rich-location.h:43
void add_expr(tree expr, range_label *label, const char *highlight_color)
Definition gcc-rich-location.cc:45
void maybe_add_expr(tree t, range_label *label, const char *highlight_color)
Definition gcc-rich-location.cc:60
void add_fixit_insert_formatted(const char *content, location_t insertion_point, location_t indent)
Definition gcc-rich-location.cc:166
void add_fixit_misspelled_id(location_t misspelled_token_loc, tree hint_id)
Definition gcc-rich-location.cc:71
bool add_location_if_nearby(const diagnostic_source_print_policy &policy, location_t loc, bool restrict_to_current_line_spans=true, const range_label *label=NULL)
Definition diagnostic-show-locus.cc:3227
gcc_rich_location(location_t loc)
Definition gcc-rich-location.h:37
union tree_node * tree
Definition coretypes.h:97
#define NULL
Definition system.h:50