GCC Middle and Back End API Reference
|
#include <diagnostic-core.h>
Public Member Functions | |
auto_diagnostic_nesting_level () | |
~auto_diagnostic_nesting_level () | |
RAII-style class for nesting hierarchical diagnostics. Any diagnostics emitted within the lifetime of this object will be treated as one level of nesting deeper than diagnostics emitted outside the lifetime of the object.
auto_diagnostic_nesting_level::auto_diagnostic_nesting_level | ( | ) |
class auto_diagnostic_nesting_level.
References global_dc, and diagnostic_context::push_nesting_level().
auto_diagnostic_nesting_level::~auto_diagnostic_nesting_level | ( | ) |
References global_dc, and diagnostic_context::pop_nesting_level().