[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding Style Review and Automation



On Tue, Feb 11, 2025 at 11:14:55AM +0100, Jan Beulich wrote:
> On 11.02.2025 10:01, Roger Pau Monné wrote:
> > Is it possible for clang-format to be applied exclusively to newly
> > added chunks of code, while keeping the surroundings untouched?
> 
> I, too, was wondering about this, at least as a data point. However,
> especially for files that aren't in a single style (e.g. where we're
> slowly transitioning from Linux to Xen style) this would then mean
> (at least) three styles in a single file.

My expectation is that the proposed clang-format based style will be
very close to the current Xen style.  Maybe that's unrealistic, that's
why I requested a list of differences between our current coding style
and what clang-format can do.

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.