Hi Peff,
On Mon, 14 Aug 2017, Jeff King wrote:
> On Mon, Aug 14, 2017 at 03:54:30PM -0700, Brandon Williams wrote:
>
> > > And removing that gives me a clean output. I have no idea why my clang
> > > doesn't like these (but presumably yours does). It's clang-format-5.0 in
> > > Debian unstable (
On Tue, Aug 15, 2017 at 10:34 AM, Brandon Williams wrote:
> On 08/15, Ben Peart wrote:
>>
>>
>> On 8/14/2017 5:30 PM, Brandon Williams wrote:
>> >Add a '.clang-format' file which outlines the git project's coding
>> >style. This can be used with clang-format to auto-format .c and .h
>> >files to
On 08/15, Ben Peart wrote:
>
>
> On 8/14/2017 6:02 PM, Stefan Beller wrote:
> >On Mon, Aug 14, 2017 at 2:30 PM, Brandon Williams wrote:
> >>Add a '.clang-format' file which outlines the git project's coding
> >>style. This can be used with clang-format to auto-format .c and .h
> >>files to conf
On 08/15, Ben Peart wrote:
>
>
> On 8/14/2017 5:30 PM, Brandon Williams wrote:
> >Add a '.clang-format' file which outlines the git project's coding
> >style. This can be used with clang-format to auto-format .c and .h
> >files to conform with git's style.
> >
> >Signed-off-by: Brandon Williams
On 8/14/2017 5:30 PM, Brandon Williams wrote:
Add a '.clang-format' file which outlines the git project's coding
style. This can be used with clang-format to auto-format .c and .h
files to conform with git's style.
Signed-off-by: Brandon Williams
---
.clang-format | 165 +++
On 8/14/2017 6:02 PM, Stefan Beller wrote:
On Mon, Aug 14, 2017 at 2:30 PM, Brandon Williams wrote:
Add a '.clang-format' file which outlines the git project's coding
style. This can be used with clang-format to auto-format .c and .h
files to conform with git's style.
Signed-off-by: Brandon
On Mon, Aug 14, 2017 at 03:54:30PM -0700, Brandon Williams wrote:
> > And removing that gives me a clean output. I have no idea why my clang
> > doesn't like these (but presumably yours does). It's clang-format-5.0 in
> > Debian unstable (and clang-format-3.8, etc).
>
> Those must be features in
On 08/14, Jeff King wrote:
> On Mon, Aug 14, 2017 at 06:48:31PM -0400, Jeff King wrote:
>
> > On Mon, Aug 14, 2017 at 02:30:45PM -0700, Brandon Williams wrote:
> >
> > > +# Align escaped newlines as far left as possible
> > > +# #define A \
> > > +# int ; \
> > > +# int b;\
> > > +#
On Mon, Aug 14, 2017 at 06:48:31PM -0400, Jeff King wrote:
> On Mon, Aug 14, 2017 at 02:30:45PM -0700, Brandon Williams wrote:
>
> > +# Align escaped newlines as far left as possible
> > +# #define A \
> > +# int ; \
> > +# int b;\
> > +# int ;
> > +AlignEscapedNewlines: L
On Mon, Aug 14, 2017 at 02:30:45PM -0700, Brandon Williams wrote:
> +# Align escaped newlines as far left as possible
> +# #define A \
> +# int ; \
> +# int b;\
> +# int ;
> +AlignEscapedNewlines: Left
I get:
$ git clang-format-5.0 --style file -p --extensions c,h
YAM
On Mon, Aug 14, 2017 at 2:30 PM, Brandon Williams wrote:
> Add a '.clang-format' file which outlines the git project's coding
> style. This can be used with clang-format to auto-format .c and .h
> files to conform with git's style.
>
> Signed-off-by: Brandon Williams
Applying this patch and run
Add a '.clang-format' file which outlines the git project's coding
style. This can be used with clang-format to auto-format .c and .h
files to conform with git's style.
Signed-off-by: Brandon Williams
---
.clang-format | 165 ++
1 file cha
12 matches
Mail list logo