https://bugs.llvm.org/show_bug.cgi?id=40418
Bug ID: 40418
Summary: AlignConsecutiveDeclarations fails with attibutes
Product: clang
Version: 7.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: roland.sch...@intel.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
clang-format produces:
void f(int extremlylongparameternamexxxxxxxx1,
long extremlylongparameternamexxxxxxxx2,
int[[]] extremlylongparameternamexxxxxxxx3,
int __attribute__(()) extremlylongparameternamexxxxxxxx4) {
int a;
unsigned long b;
int[[]] c;
int __attribute__(()) d;
}
Given configuration:
AlignConsecutiveDeclarations: true
It fails to align both the parameters and variables declarations with
attributes. Other lines work fine. But those with attributes are ignored.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs