Go to the source code of this file.
Macros | |
#define | __STRINGIFY__(...) #__VA_ARGS__ |
#define | _Lengthof(A) |
Compute the number of elements in an array. | |
#define | ELLIPSIS_BUG(FORMAT, ...) ellipsis‿error("error, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Indicate an error, considered to be an internal error of lip, on stderr and terminate execution. | |
#define | ELLIPSIS_DIAGNOSTIC(FORMAT, ...) ellipsis‿error‿diagnostic("diagnostic, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Issue a diagnostic on stderr . | |
#define | ELLIPSIS_ERROR(FORMAT, ...) ellipsis‿error("error, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Indicate an error on stderr and terminate execution. | |
#define | ELLIPSIS_ERROR_CHECK(F, MESSAGE, ...) |
#define | ELLIPSIS_WARNING(FORMAT, ...) ellipsis‿error‿warning("warning, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Issue a warning on stderr . | |
#define | GNU_ATTR_ACCESS(...) |
#define | GNU_ATTR_COUNTED_BY(...) |
#define | GNU_ATTR_FORMAT_PRINTF(...) |
#define | GNU_ATTR_MALLOC(...) |
#define | GNU_ATTR_RETURNS_NONNULL |
#define | GNU_ATTR_STRICT_FLEX_ARRAY(...) |
#define | GNU_ATTR_USED |
#define | STDC_ATTR_NODISCARD(...) |
Functions | |
GNU_ATTR_FORMAT_PRINTF (1, 2) void ellipsis‿error(char const __LOC_ID_0_1[] | |
Indicate an error on stderr and terminate execution. | |
Variables | |
bool | ellipsis‿error‿dump |
_Atomic bool | ellipsis‿error‿finished |
bool | ellipsis‿error‿verb |
#define __STRINGIFY__ | ( | ... | ) | #__VA_ARGS__ |
#define _Lengthof | ( | A | ) |
Compute the number of elements in an array.
Produces an error if the argument is not an array.
The result is an integer constant expression if the array is not a VLA; otherwise the argument expression may be evaluated.
#define ELLIPSIS_BUG | ( | FORMAT, | |
... | |||
) | ellipsis‿error("error, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Indicate an error, considered to be an internal error of lip, on stderr
and terminate execution.
#define ELLIPSIS_DIAGNOSTIC | ( | FORMAT, | |
... | |||
) | ellipsis‿error‿diagnostic("diagnostic, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Issue a diagnostic on stderr
.
#define ELLIPSIS_ERROR | ( | FORMAT, | |
... | |||
) | ellipsis‿error("error, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Indicate an error on stderr
and terminate execution.
#define ELLIPSIS_ERROR_CHECK | ( | F, | |
MESSAGE, | |||
... | |||
) |
#define ELLIPSIS_WARNING | ( | FORMAT, | |
... | |||
) | ellipsis‿error‿warning("warning, " FORMAT "\n" __VA_OPT__(,) __VA_ARGS__) |
Issue a warning on stderr
.
#define GNU_ATTR_ACCESS | ( | ... | ) |
#define GNU_ATTR_COUNTED_BY | ( | ... | ) |
#define GNU_ATTR_FORMAT_PRINTF | ( | ... | ) |
#define GNU_ATTR_MALLOC | ( | ... | ) |
#define GNU_ATTR_RETURNS_NONNULL |
#define GNU_ATTR_STRICT_FLEX_ARRAY | ( | ... | ) |
#define GNU_ATTR_USED |
#define STDC_ATTR_NODISCARD | ( | ... | ) |
GNU_ATTR_FORMAT_PRINTF | ( | 1 | , |
2 | |||
) | const |
Indicate an error on stderr
and terminate execution.
Code is on error when a call to this function is reached.
Issue a diagnostic on stderr
.
Issue a warning on stderr
.
If it is linked to your executable and called, it indicates an error on stderr
and terminate execution.
Generally, all calls to this function should disappear when fully optimizing your code. So the default is not to provide this function and let your code fail when linking if a call is issued.
|
extern |
|
extern |
|
extern |