Lines Matching defs:diagnostic_context
104 struct diagnostic_context struct
107 pretty_printer *printer;
110 int diagnostic_count[DK_LAST_DIAGNOSTIC_KIND];
113 bool warning_as_error_requested;
117 int n_opts;
125 diagnostic_t *classify_diagnostic;
132 diagnostic_classification_change_t *classification_history;
135 int n_classification_history;
138 int *push_list;
139 int n_push;
143 bool show_caret;
146 int caret_max_width;
149 char caret_chars[rich_location::STATICALLY_ALLOCATED_RANGES];
153 bool show_cwe;
156 enum diagnostic_path_format path_format;
159 bool show_path_depths;
163 bool show_option_requested;
166 bool abort_on_error;
169 bool show_column;
172 bool pedantic_errors;
175 bool permissive;
179 int opt_permissive;
182 bool fatal_errors;
185 bool dc_inhibit_warnings;
211 void (*internal_error) (diagnostic_context *, const char *, va_list *); argument
227 char *(*option_name) (diagnostic_context *, int, diagnostic_t, diagnostic_t); argument
233 char *(*get_option_url) (diagnostic_context *, int); argument
235 void (*print_path) (diagnostic_context *, const diagnostic_path *); argument
236 json::value *(*make_json_for_path) (diagnostic_context *, const diagnostic_path *); argument
239 void *x_data;
242 location_t last_location;
246 const line_map_ordinary *last_module;
248 int lock;
251 unsigned lang_mask;
253 bool inhibit_notes_p;
262 bool colorize_source_p;
265 bool show_labels_p;
269 bool show_line_numbers_p;
273 int min_margin_width;
298 void (*begin_group_cb) (diagnostic_context * context); argument
302 void (*end_group_cb) (diagnostic_context * context); argument
305 void (*final_cb) (diagnostic_context *context); argument