Adds a new BraceWrapping option called BeforeWhileInDoWhile.
Code like this:
do {
// Some code
} while (1);becomes:
do {
// Some code
}
while (1);This is meant to compliment the BreakBeforeElse wrapping option.
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!