Re: clang-format and 'clang-format on' and 'clang-format off'

2019-09-15 Thread Miguel Ojeda
On Fri, Sep 13, 2019 at 1:26 AM Joe Perches wrote: > > Not every project is going to use only the clang-format tool. Why? The end goal would be to enforce all code to be running under the same formatting rules (which, in practice, means the same tool at the moment). Note that you can use

clang-format and 'clang-format on' and 'clang-format off'

2019-09-12 Thread Joe Perches
acros. For those, yes, I think it is a fine solution. Can the 'clang-format on/off' trigger be indirected into something non-clang specific via a macro? Not every project is going to use only the clang-format tool.