https://bugs.llvm.org/show_bug.cgi?id=35641
Bug ID: 35641
Summary: Formatting makes code incorrect
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: vbeff...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
With this code:
----------------------- a.cpp
int l() { //
int p;
}
-----------------------
And this .clang-format:
----------------------- .clang-format
---
AlignConsecutiveDeclarations: true
-----------------------
I get the following output:
----------------------- output
int l() { //
intp;
}
-----------------------
(which obviously does not compile).
--
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