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

Attachment: BreakBeforeWhileInDoWhile.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to