GCC Middle and Back End API Reference
|
#include <diagnostic.h>
Public Member Functions | |
diagnostic_location_print_policy (const diagnostic_context &dc) | |
diagnostic_location_print_policy (const diagnostic_text_output_format &) | |
bool | show_column_p () const |
const diagnostic_column_policy & | get_column_policy () const |
Private Attributes | |
diagnostic_column_policy | m_column_policy |
bool | m_show_column |
A bundle of state for printing locations within diagnostics (e.g. "FILENAME:LINE:COLUMN"), to isolate the interactions between diagnostic_context and the start_span callbacks.
diagnostic_location_print_policy::diagnostic_location_print_policy | ( | const diagnostic_context & | dc | ) |
diagnostic_location_print_policy::diagnostic_location_print_policy | ( | const diagnostic_text_output_format & | text_output | ) |
|
inline |
References m_column_policy.
Referenced by default_diagnostic_start_span_fn(), and diagnostic_source_print_policy::get_column_policy().
|
inline |
References m_show_column.
Referenced by default_diagnostic_start_span_fn().
|
private |
Referenced by get_column_policy().
|
private |
Referenced by show_column_p().