[llvm-bugs] [Bug 51470] New: [clang-format] functions without argument names are treated as K&R function and cause a break after closing paren
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 13 00:41:39 PDT 2021
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: unassignedclangbugs at nondot.org
Reporter: mydeveloperday at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210813/aa84a223/attachment.html>
More information about the llvm-bugs
mailing list