On Thu, Jun 27, 2013 at 10:31 PM, Tom Lane <t...@sss.pgh.pa.us> wrote:
>
> AFAIR, no one has ever done a serious comparison to anything except GNU
> indent, and (at least at the time) it seemed to have bugs as bad as
> pgindent's, just different ones.  I'm certainly open to another choice
> as long as we don't lose on portability of the tool.  But who will do
> the legwork to test something else?

Fwiw I played with clang-format a bit the other day. But I couldn't
get it to resemble our coding style. It was strongly of the opinion
that spacing within lines should be completely consistent and that
meant it eliminated all spaces that lined up initializers and such.

In theory this tool is promising though since it works by looking at
the llvm bytecode to determine what the real syntax is. It should be
able to handle the typedef issues we have with most of the the tools.


-- 
greg


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to