Skip to content

[clang-format] Spacing with function pointer #102102

@prj-

Description

@prj-

I'm not sure the spacing surrounding & is intentional or not?

$ clang-format func.c
int main(int argc, char *argv) {
  func((void *)&a);
  func((void (**)(void)) & b);
  return 0;
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions