Re: [RFC] clang-format: outline the git project's coding style

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

 



On Fri, Aug 11, 2017 at 10:52:37AM -0700, Brandon Williams wrote:

> On 08/09, Stefan Beller wrote:
> > On Wed, Aug 9, 2017 at 3:53 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote:
> > 
> > > I would think based on these options, a pre commit hook can be
> > > written that formats precisely the touched lines of code of each file.
> > 
> > I did not search enough, "clang-tidy-diff.py --fix" should be all that is needed
> 
> I believe clang-tidy is different from clang-format am I mistaken?

Yeah, I just dug in the archive. The script I ran way back when was
actually clang-format-diff.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux