P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
P4::DiagnosticCountInfoGuard Struct Reference

#include <pass_utils.h>

Public Member Functions

 DiagnosticCountInfoGuard (DiagnosticCountInfoGuard &&)=delete
 avoid creating moved-from object and copies that could emit spurious logs.
 

Friends

struct DiagnosticCountInfo
 

Detailed Description

A guard useful for emitting diagnostic info about non-passes.

See also
DiagnosticCountInfo::getInfoGuard.