P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4::CheckDeprecated Class Reference
Inheritance diagram for P4::CheckDeprecated:

Public Member Functions

 CheckDeprecated (const ReferenceMap *refMap)
 
bool preorder (const IR::PathExpression *path) override
 
bool preorder (const IR::Type_Name *name) override
 
void warnIfDeprecated (const IR::IAnnotated *declaration, const IR::Node *errorNode)
 

Detailed Description

Checks for the use of symbols that are marked as

Deprecated
and gives warnings.