[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ code indentation for GNU
From: |
Ian Lance Taylor |
Subject: |
Re: C++ code indentation for GNU |
Date: |
Mon, 15 Jul 2019 10:54:28 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > When discussing formatting, we should keep the clang-format tool in mind
> > (https://clang.llvm.org/docs/ClangFormat.html). It's from the LLVM
> > project, and it's not under the GPL, but it is free software. We should
> > adopt a standard .clang-format file for GNU code.
>
> I don't want to make our standards presume the use of specific programs
> other than GNU packages (and, preferably, not even those).
Agreed. I'm not saying that we should require clang-format. I'm saying
that we should choose a formatting style that can be cleanly expressed
with in a .clang-format file for those who choose to use clang-format.
Ian