Skip to content

[clang-format] Wrong formatting when 'new' is used as variable name in C #128847

Closed
@Tamaranch

Description

@Tamaranch

Follow-up to #59188 (comment)

clang-format outputs

int maximized = new &STATE_MAXIMIZED;

instead of

int maximized = new & STATE_MAXIMIZED;

version: 19.1.7 on arch linux, and this is not fixed by #128287 (see #59188 (comment)).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions