[llvm-bugs] [Bug 28225] New: Need an option to leave a white space at the end of namespace block
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 21 00:20:46 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28225
Bug ID: 28225
Summary: Need an option to leave a white space at the end of
namespace block
Product: clang
Version: 3.8
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: ttanner2 at bloomberg.net
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
This code:
namespace A {
namespace B {
void somefunc()
{
}
}
}
with the appropriate options (break before all braces except namespace braces,
keep empty lines at start of block), ends up formatting like this:
namespace A {
namespace B {
void somefunc()
{
}
}
}
which has a definite loss of readability. I can't find any options to put that
white space back.
--
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/20160621/df44da92/attachment-0001.html>
More information about the llvm-bugs
mailing list