MLIR 22.0.0git
mlir::pdll::ast::ConstraintRef Struct Reference

This class represents a reference to a constraint, and contains a constraint and the location of the reference. More...

#include "mlir/Tools/PDLL/AST/Nodes.h"

Public Member Functions

 ConstraintRef (const ConstraintDecl *constraint, SMRange refLoc)
 ConstraintRef (const ConstraintDecl *constraint)

Public Attributes

const ConstraintDeclconstraint
SMRange referenceLoc

Detailed Description

This class represents a reference to a constraint, and contains a constraint and the location of the reference.

Definition at line 716 of file Nodes.h.

Constructor & Destructor Documentation

◆ ConstraintRef() [1/2]

mlir::pdll::ast::ConstraintRef::ConstraintRef ( const ConstraintDecl * constraint,
SMRange refLoc )
inline

Definition at line 717 of file Nodes.h.

References constraint, and referenceLoc.

Referenced by ConstraintRef().

◆ ConstraintRef() [2/2]

mlir::pdll::ast::ConstraintRef::ConstraintRef ( const ConstraintDecl * constraint)
inlineexplicit

Definition at line 719 of file Nodes.h.

References constraint, and ConstraintRef().

Member Data Documentation

◆ constraint

const ConstraintDecl* mlir::pdll::ast::ConstraintRef::constraint

Definition at line 722 of file Nodes.h.

Referenced by ConstraintRef(), and ConstraintRef().

◆ referenceLoc

SMRange mlir::pdll::ast::ConstraintRef::referenceLoc

Definition at line 723 of file Nodes.h.

Referenced by ConstraintRef().


The documentation for this struct was generated from the following file: