кодчекер ожидает, что enum'ы будут is_lower
#include <stdio.h>
#define MACRO 128
enum
{
ENUM_MACRO = 129,
};
int main()
{
int abcdef = 23;
printf("%d %d %d %d", ENUM_MACRO, MACRO, 458, abcef);
return 0;
}
main.c(6,5): Incorrect lexema's first symbol register (is upper, but expected is lower)
main.c(6,5): Incorrect register of lexema, (upper, but expected lower)
main.c(12,27): Incorrect lexema's first symbol register (is upper, but expected is lower)
main.c(12,27): Incorrect register of lexema, (upper, but expected lower)
https://www.kernel.org/doc/html/v4.10/process/coding-style.html#macros-enums-and-rtl