https://llvm.org/bugs/show_bug.cgi?id=25345
Bug ID: 25345
Summary: Empty line is not preserved after inline member
function definition
Product: clang
Version: 3.7
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
There is a bug in 3.7.0, which doesn't reproduce on 3.6.2. The empty line is
not preserved after inline member function definition when using the following
settings. Changing 'KeepEmptyLinesAtTheStartOfBlocks' to 'true' fixes the
issue, but it should not affect the following example.
Settings:
---
BasedOnStyle: Webkit
AllowShortFunctionsOnASingleLine: Inline
KeepEmptyLinesAtTheStartOfBlocks: false
...
Expected formatting:
class Test {
void foo1() {}
void foo2();
void foo3();
}
Observed formatting:
class Test {
void foo1() {}
void foo2();
void foo3();
}
--
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