MLIR  19.0.0git
Macros
LvlTypeParser.cpp File Reference
#include "LvlTypeParser.h"
#include "mlir/Dialect/SparseTensor/IR/Enums.h"

Go to the source code of this file.

Macros

#define FAILURE_IF_FAILED(STMT)
 
#define ERROR_IF(COND, MSG)
 

Macro Definition Documentation

◆ ERROR_IF

#define ERROR_IF (   COND,
  MSG 
)
Value:
if (COND) { \
return parser.emitError(loc, MSG); \
}

Definition at line 23 of file LvlTypeParser.cpp.

◆ FAILURE_IF_FAILED

#define FAILURE_IF_FAILED (   STMT)
Value:
if (failed(STMT)) { \
return failure(); \
}

Definition at line 17 of file LvlTypeParser.cpp.