[PATCH] D16066: [clang-format] Add BeforeWhileInDoWhile BraceWrapping option

Eric Baker via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 06:16:38 PST 2016


ebaker355 added a comment.

Thanks for responding, and for the documentation link! It is certainly wise to not attempt "to supporting every single style used by a codebase somewhere in the wild."

I do not know of a predefined coding style that recommends this format. My thinking was:

- it complements the "else on new line" option
- I have seen other code formatters that offer this style option


http://reviews.llvm.org/D16066





More information about the cfe-commits mailing list