References: <1ffbd3a5-8fa8-8992-2c3d-d353898d74f9@...2080...> <943c0ce1-501c-df5a-fb47-53ab7a689d36@...2080...> <75c5efa8-346f-f2ca-57bd-4b3e38364a27@...1856...> From: Steffan Karger Message-ID: <876c9d6e-d8b4-7f0f-5dfd-32b248ae216f@...1856...> Date: Tue, 13 Dec 2016 21:35:34 +0100 MIME-Version: 1.0 In-Reply-To: Subject: Re: [Openvpn-devel] Coding style clean-up ... phase 1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit To: Selva Nair Cc: "openvpn-devel@lists.sourceforge.net" Hi, On 13-12-16 21:22, Selva Nair wrote: > > pos_bool=lead > > What does this do exactly? The description "The position of boolean > operators in wrapped expressions" from --show-config doesn't ring a bell > for me. > > This extends the pos_arith=lead (Knuth style) to booleans too so that we get > > x = first_condition > && second_condition > && third_condition > > instead of leaving && at the tail of previous line... Not a big thing, > but I thought it looks better. Agreed. I added pos_bool=Lead to the CodeStyle page, sp_bool=add was already there. Anything else holding back the reformatting branch? I think we should really move on with this, if we want to have the chance to do any additional manual fixes after running uncrustify. -Steffan