Skip to content

BreakBeforeBraces: Attach ignored with trailing requires-expression of function #48312

Open
@JohelEGP

Description

@JohelEGP
mannequin
Bugzilla Link 48968
Version trunk
OS Linux
CC @mkurdej,@JohelEGP

Extended Description

.clang-format:

BreakBeforeBraces: Attach

Input and expected formatted result:

void f() requires requires { a; } {
  b;
  return c;
}

Actual output:

void f() requires requires { a; }
{
  b;
  return c;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions