Re: clang-format syntax

2016-02-27 Thread Kjell Ahlstedt
Den 2016-02-26 kl. 09:34, skrev Murray Cumming: I will run this on glibmm first, quite soon. Let me know if there are any patches that you want to get in first, before I cause merge/rebase conflicts. It's OK for me. I have no patches for glibmm in the near future. I'm working with Gtk::Shortcut

Re: clang-format syntax

2016-02-26 Thread Murray Cumming
I will run this on glibmm first, quite soon. Let me know if there are any patches that you want to get in first, before I cause merge/rebase conflicts. -- Murray Cumming murr...@murrayc.com www.murrayc.com ___ gtkmm-list mailing list gtkmm-list@gnom

Re: clang-format syntax

2016-02-25 Thread Murray Cumming
On Thu, 2016-02-25 at 16:21 +0100, Kjell Ahlstedt wrote: > Den 2016-02-25 kl. 13:43, skrev Murray Cumming: > > > Add > > > BreakConstructorInitializersBeforeComma: false > > > ConstructorInitializerAllOnOneLineOrOnePerLine: true > > > ConstructorInitializerIndentWidth: 0 > > Thanks. I've made

Re: clang-format syntax

2016-02-25 Thread Kjell Ahlstedt
Den 2016-02-25 kl. 13:43, skrev Murray Cumming: Add BreakConstructorInitializersBeforeComma: false ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerIndentWidth: 0 Thanks. I've made that change in git. Where? It's not in gtkmm's master branch, where you added

Re: clang-format syntax

2016-02-25 Thread Murray Cumming
> Add > BreakConstructorInitializersBeforeComma: false > ConstructorInitializerAllOnOneLineOrOnePerLine: true > ConstructorInitializerIndentWidth: 0 Thanks. I've made that change in git. [snip] > This is not ideal: > >// left top width height > - m_Grid

Re: clang-format syntax

2016-02-25 Thread Kjell Ahlstedt
Den 2016-02-24 kl. 22:00, skrev Murray Cumming: On Sun, 2016-02-14 at 17:15 +0100, Kjell Ahlstedt wrote: This is my proposal: BasedOnStyle: Mozilla Standard: Cpp11 AlignAfterOpenBracket: false AlignEscapedNewlinesLeft: true AlwaysBreakAfterDefinitionReturnType: None BreakBefor

Re: clang-format syntax

2016-02-24 Thread Murray Cumming
On Sun, 2016-02-14 at 17:15 +0100, Kjell Ahlstedt wrote: > This is my proposal: > > BasedOnStyle: Mozilla > Standard: Cpp11 > AlignAfterOpenBracket: false > AlignEscapedNewlinesLeft: true > AlwaysBreakAfterDefinitionReturnType: None > BreakBeforeBraces: Allman > ColumnLimit: 100 >

Re: clang-format syntax

2016-02-14 Thread Kjell Ahlstedt
Den 2016-02-11 kl. 14:21, skrev Murray Cumming: I'd quite like to run clang-format on all our source code. I'd even like to optionally run it over our generated source code at build time. I've added a clang-format syntax file for people to try out: https://git.gnome.org/browse/g

Re: clang-format syntax

2016-02-11 Thread Kevin Brightwell
run clang-format on all our source code. I'd even > like to optionally run it over our generated source code at build time. > > I've added a clang-format syntax file for people to try out: > https://git.gnome.org/browse/gtkmm/commit/?id=66f1468b7548e22dd574f170c > 5930c9e6

clang-format syntax

2016-02-11 Thread Murray Cumming
I'd quite like to run clang-format on all our source code. I'd even like to optionally run it over our generated source code at build time. I've added a clang-format syntax file for people to try out: https://git.gnome.org/browse/gtkmm/commit/?id=66f1468b7548e22dd574f170c 5930c9e61