Skip to content

format code issue: break in macro/comment in AlignArrayOfStructures is enable #148833

@heartacker

Description

@heartacker

format code issue: break in macro,
#13761

AlignArrayOfStructures: Left

ORIGIN:

const struct reg aa[] __CMN_RODATA = {
    { abc,    0, format, code },
    { abcd2,  0, format, code },
    { aaaa,   0, why,    why  },
    { whyyyy, 0, why,    why  },
};

add macro:

const struct reg aa[] __CMN_RODATA = {
#if A
    { abc,   0, format, code },
    { abcd2, 0, format, code },
#else
    { aaaa, 0, why, why },
    { whyyyy, 0, why, why },
#endif
};

if 0:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions