GCC Middle and Back End API Reference
diagnostic_source_printing_options Struct Reference

#include <diagnostic.h>

Data Fields

bool enabled
 
int max_width
 
char caret_chars [rich_location::STATICALLY_ALLOCATED_RANGES]
 
bool colorize_source_p
 
bool show_labels_p
 
bool show_line_numbers_p
 
int min_margin_width
 
bool show_ruler_p
 
bool show_event_links_p
 

Detailed Description

A bundle of options relating to printing the user's source code
(potentially with a margin, underlining, labels, etc).   

Field Documentation

◆ caret_chars

char diagnostic_source_printing_options::caret_chars[rich_location::STATICALLY_ALLOCATED_RANGES]

◆ colorize_source_p

◆ enabled

◆ max_width

int diagnostic_source_printing_options::max_width

◆ min_margin_width

int diagnostic_source_printing_options::min_margin_width

◆ show_event_links_p

bool diagnostic_source_printing_options::show_event_links_p

◆ show_labels_p

bool diagnostic_source_printing_options::show_labels_p

◆ show_line_numbers_p

bool diagnostic_source_printing_options::show_line_numbers_p

◆ show_ruler_p

bool diagnostic_source_printing_options::show_ruler_p

The documentation for this struct was generated from the following file: