Skip to content

Clang-format with GNU style splits up three-way comparison operator #104655

@Halalaluyafail3

Description

@Halalaluyafail3

Clang-format with GNU style doesn't recognize three-way comparison operators and will split them up. For example:

1<=>2;

Clang-format with GNU style will format this to:

1 <= > 2;

This is ill-formed and shouldn't be generated.

Metadata

Metadata

Assignees

Labels

clang-formatinvalid-code-generationTool (e.g. clang-format) produced invalid code that no longer compiles

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions