P4C
The P4 Compiler
Loading...
Searching...
No Matches
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.