[llvm-bugs] [Bug 29047] New: clang-format AlignConsecutiveDeclarations doesn't align methods with parameters.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 18 22:47:44 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29047
Bug ID: 29047
Summary: clang-format AlignConsecutiveDeclarations doesn't
align methods with parameters.
Product: clang
Version: 3.9
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: popizdeh at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
clang-format will align foo and bar correctly when AlignConsecutiveDeclarations
is set to true.
struct A {
void foo();
int bar();
};
Adding a parameter to foo will break alignment.
struct A {
void foo(int x);
int bar(); // no longer aligned
};
--
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/20160819/96165a8c/attachment.html>
More information about the llvm-bugs
mailing list