Skip to content

[clang-format] Missing space after cast in a macro #52979

Closed
@Julien-Elie

Description

@Julien-Elie

Though SpaceAfterCStyleCast is set to true, clang-format 13 does not add a space after (void *) here:

#define CONF_BOOL(conf, offset) (bool *) (void *)((char *) (conf) + (offset))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorclang-format

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions