Add BeforeWhileInDoWhile BraceWrapping option
Eric Baker via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 10 12:44:39 PST 2016
Code like this:
do {
// Some code
} while (1);
becomes:
do {
// Some code
}
while (1);
I couldn't think of a better name for the option than BeforeWhileInDoWhile.
I'm open to suggestions!
Also, this is my first attempt at submitting a patch for this project. If
I've done anything wrong, please let me know. Thanks!
--
Thanks,
Eric Baker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160110/241ed06e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BreakBeforeWhileInDoWhile.patch
Type: application/octet-stream
Size: 4034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160110/241ed06e/attachment.obj>
More information about the cfe-commits
mailing list