https://bugs.llvm.org/show_bug.cgi?id=51470
Bug ID: 51470
Summary: [clang-format] functions without argument names are
treated as K&R function and cause a break after
closing paren
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: mydeveloper...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
```
bool foo(int A,Bar) override;
```
becoming
```
bool foo(int A,Bar)
override;
```
This is likely related to the support for K&R that was added
https://reviews.llvm.org/D106112
The regression is resolve by
https://reviews.llvm.org/D107950 (45934922fa88)
This is impacting the 13.0 RC branch
--
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