Go to the source code of this file.
◆ ASSIGN_OR_RETURN
| #define ASSIGN_OR_RETURN |
( |
|
lhs, |
|
|
|
rexpr |
|
) |
| |
◆ ASSIGN_OR_RETURN_IMPL
| #define ASSIGN_OR_RETURN_IMPL |
( |
|
status, |
|
|
|
lhs, |
|
|
|
rexpr |
|
) |
| |
Value:
if (!status.ok()) return status;
Definition at line 47 of file status_macros.h.
◆ RETURN_IF_ERROR
| #define RETURN_IF_ERROR |
( |
|
expr | ) |
|
Value: do { \
\
const ::absl::Status _status = (expr); \
if (!_status.ok()) return _status; \
} while (0)
Definition at line 28 of file status_macros.h.
◆ STATUS_MACROS_CONCAT_NAME
◆ STATUS_MACROS_CONCAT_NAME_INNER
| #define STATUS_MACROS_CONCAT_NAME_INNER |
( |
|
x, |
|
|
|
y |
|
) |
| x##y |