[llvm-bugs] [Bug 40160] New: Bug with AlignConsecutiveDeclaration in clang-format
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 26 08:01:48 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=40160
Bug ID: 40160
Summary: Bug with AlignConsecutiveDeclaration in clang-format
Product: clang
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: andrejlevkovitch at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
I thound problem with align of declaration in functions, where past open
bracket is comment. For example:
// cpp file
int fun() { //
int alfa = 0;
};
// .clang-format file
AlignConsecutiveDeclarations: true
// result
int fun() { //
intalfa = 0;
};
clang-format version 7.0.1-svn348686-1~exp1~20181211132844.50
(branches/release_70)
--
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/20181226/a717c6c4/attachment.html>
More information about the llvm-bugs
mailing list