https://bugs.llvm.org/show_bug.cgi?id=41407
Bug ID: 41407
Summary: Constructor initializer list indented incorrectly
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: owenpi...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
The .clang-format file:
BreakConstructorInitializers: AfterColon
ColumnLimit: 0
ConstructorInitializerIndentWidth: 0
C++ code to be formatted:
Foo::Foo() :
foo(0),
bar(1) {
}
Incorrectly formatted to:
Foo::Foo() :
foo(0),
bar(1) {
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs