P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::DPDK::ErrorWidth Class Reference
Inheritance diagram for P4::DPDK::ErrorWidth:
[legend]

Public Member Functions

 ErrorWidth (unsigned width)
 
- Public Member Functions inherited from P4::ChooseErrorRepresentation
virtual IR::IndexedVector< IR::SerEnumMember > * assignValues (IR::Type_Error *type, unsigned width) const
 

Detailed Description

This class implements a policy suitable for the ConvertErrors pass. The policy is: convert all errors to specified width.