GCC Middle and Back End API Reference
diagnostic_location_print_policy Class Reference

#include <diagnostic.h>

Collaboration diagram for diagnostic_location_print_policy:

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_policyget_column_policy () const
 

Private Attributes

diagnostic_column_policy m_column_policy
 
bool m_show_column
 

Detailed Description

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.   

Constructor & Destructor Documentation

◆ diagnostic_location_print_policy() [1/2]

diagnostic_location_print_policy::diagnostic_location_print_policy ( const diagnostic_context & dc)

◆ diagnostic_location_print_policy() [2/2]

diagnostic_location_print_policy::diagnostic_location_print_policy ( const diagnostic_text_output_format & text_output)

Member Function Documentation

◆ get_column_policy()

const diagnostic_column_policy & diagnostic_location_print_policy::get_column_policy ( ) const
inline

◆ show_column_p()

bool diagnostic_location_print_policy::show_column_p ( ) const
inline

Field Documentation

◆ m_column_policy

diagnostic_column_policy diagnostic_location_print_policy::m_column_policy
private

Referenced by get_column_policy().

◆ m_show_column

bool diagnostic_location_print_policy::m_show_column
private

Referenced by show_column_p().


The documentation for this class was generated from the following files: