MLIR 22.0.0git
LvlTypeParser.cpp File Reference

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.