[llvm-dev] clang-format and 'clang-format on' and 'clang-format off'
Joe Perches via llvm-dev
llvm-dev at lists.llvm.org
Thu Sep 12 16:26:37 PDT 2019
On Thu, 2019-09-12 at 23:58 +0200, Miguel Ojeda wrote:
> On Thu, Sep 12, 2019 at 11:08 PM Joe Perches <joe at perches.com> wrote:
> > Marking sections _no_auto_format_ isn't really a
> > good solution is it?
>
> I am thinking about special tables that are hand-crafted or very
> complex macros. 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.
More information about the llvm-dev
mailing list