Closed
Description
version: 19.0.0git (a6a9215)
OS: Ubuntu 22.04.3
.clang-format
AlignArrayOfStructures: Left
MRE:
struct test {
int a, b;
};
#define SOME_GENERATOR(macro) macro(0) macro(1)
static const test arr[] = {
#define FOO(i) {i, i},
SOME_GENERATOR(FOO)
{2, 2}
};
Moving line with #define FOO
out of initializer resolves this issue