My Project
Public Member Functions | Static Public Member Functions | List of all members
mlir::WalkResult Class Reference

#include <Visitors.h>

Public Member Functions

 WalkResult (ResultEnum result)
 
 WalkResult (LogicalResult result)
 Allow LogicalResult to interrupt the walk on failure. More...
 
 WalkResult (Diagnostic &&)
 Allow diagnostics to interrupt the walk. More...
 
 WalkResult (InFlightDiagnostic &&)
 
bool operator== (const WalkResult &rhs) const
 
bool wasInterrupted () const
 Returns if the walk was interrupted. More...
 

Static Public Member Functions

static WalkResult interrupt ()
 
static WalkResult advance ()
 

Detailed Description

A utility result that is used to signal if a walk method should be interrupted or advance.

Constructor & Destructor Documentation

◆ WalkResult() [1/4]

mlir::WalkResult::WalkResult ( ResultEnum  result)
inline

◆ WalkResult() [2/4]

mlir::WalkResult::WalkResult ( LogicalResult  result)
inline

Allow LogicalResult to interrupt the walk on failure.

◆ WalkResult() [3/4]

mlir::WalkResult::WalkResult ( Diagnostic &&  )
inline

Allow diagnostics to interrupt the walk.

◆ WalkResult() [4/4]

mlir::WalkResult::WalkResult ( InFlightDiagnostic &&  )
inline

Member Function Documentation

◆ advance()

static WalkResult mlir::WalkResult::advance ( )
inlinestatic

◆ interrupt()

static WalkResult mlir::WalkResult::interrupt ( )
inlinestatic

◆ operator==()

bool mlir::WalkResult::operator== ( const WalkResult rhs) const
inline

◆ wasInterrupted()

bool mlir::WalkResult::wasInterrupted ( ) const
inline

Returns if the walk was interrupted.


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