Skip to content

[clang-format] formatting Address of Label extension #61233

Closed
@quite

Description

@quite

When using operator && as the "Address of Label Extension", Clang-Format (15.0.7) formats this like below. Is it feasible to make it possible to format this specific use of && in another way? For example like (uint32_t)&&foo;?

uint32_t foo_addr = (uint32_t) && foo;
[..]
foo:
[..]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions