[PATCH] [clang-format] add AfterMultilineControlStatement

2016-08-06 Thread Rinat Ibragimov via cfe-commits
Hi. When indent is four spaces, "if" conditions spanning multiple lines could be difficult to discern from the "if" body. Indentation is the same, so they are visually blending. (See example below). One of the solutions is to place opening brace on a separate line when "if" condition spans multipl

Re: [PATCH] [clang-format] add AfterMultilineControlStatement

2016-08-07 Thread Rinat Ibragimov via cfe-commits
от Rinat Ibragimov via cfe-commits >: > >Hi. > >When indent is four spaces, "if" conditions spanning multiple lines >could be difficult to discern from the "if" body. Indentation is the >same, so they are visually blending. (See example below). One of the &