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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs