https://bugs.llvm.org/show_bug.cgi?id=48968

            Bug ID: 48968
           Summary: BreakBeforeBraces: Attach ignored with trailing
                    requires-expression of function
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: johel...@gmail.com
                CC: djas...@google.com, johel...@gmail.com,
                    kli...@google.com, llvm-bugs@lists.llvm.org

.clang-format:
```
BreakBeforeBraces: Attach
```

Input and expected formatted result:
```C++
void f() requires requires { a; } {
  b;
  return c;
}
```

Actual output:
```C++
void f() requires requires { a; }
{
  b;
  return c;
}
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to