Go to the source code of this file.
◆ ASSIGN_OR_RETURN
| #define ASSIGN_OR_RETURN |
( |
|
lhs, |
|
|
|
rexpr |
|
) |
| |
Value:
#define STATUS_MACROS_IMPL_CONCAT_(x, y)
#define STATUS_MACROS_IMPL_ASSIGN_OR_RETURN_(statusor, lhs, rexpr)
Definition at line 48 of file status_macros.h.
◆ ISH
| #define ISH |
( |
|
... | ) |
ISH __VA_ARGS__ |
◆ RETURN_IF_ERROR
| #define RETURN_IF_ERROR |
( |
|
expr | ) |
|
Value: switch (0) \
case 0: \
default: \
if (const ::absl::Status status_macro_internal_adaptor = (expr); \
status_macro_internal_adaptor.ok()) { \
} else \
return ::util::StatusBuilder(status_macro_internal_adaptor)
Definition at line 29 of file status_macros.h.
◆ STATUS_MACROS_IMPL_ASSIGN_OR_RETURN_
| #define STATUS_MACROS_IMPL_ASSIGN_OR_RETURN_ |
( |
|
statusor, |
|
|
|
lhs, |
|
|
|
rexpr |
|
) |
| |
Value: auto statusor = (rexpr); \
RETURN_IF_ERROR(statusor.status()); \
STATUS_MACROS_IMPL_UNPARENTHESIS(lhs) = std::move(statusor).value()
Definition at line 52 of file status_macros.h.
◆ STATUS_MACROS_IMPL_CONCAT_
◆ STATUS_MACROS_IMPL_CONCAT_INNER_
| #define STATUS_MACROS_IMPL_CONCAT_INNER_ |
( |
|
x, |
|
|
|
y |
|
) |
| x##y |
◆ STATUS_MACROS_IMPL_UNPARENTHESIS
◆ STATUS_MACROS_IMPL_UNPARENTHESIS_INNER
◆ STATUS_MACROS_IMPL_UNPARENTHESIS_INNER_
| #define STATUS_MACROS_IMPL_UNPARENTHESIS_INNER_ |
( |
|
... | ) |
STATUS_MACROS_IMPL_VAN##__VA_ARGS__ |
◆ STATUS_MACROS_IMPL_VANISH
| #define STATUS_MACROS_IMPL_VANISH |