[PATCH v2 1/4] clang-format: should format with 2 space and do not usage tab

Xi Ruoyao xry111@xry111.site
Wed Jun 21 07:17:58 GMT 2023


On Tue, 2023-06-20 at 13:45 -0400, Zack Weinberg via Libc-alpha wrote:
> I *thought* this was documented somewhere in
> https://www.gnu.org/prep/standards/html_node/ but I can't find it (but I
> have personally been yelled at on this very mailing list for screwing it
> up, so I don't want you to have the same experience).

It's implied by:

"""
The rest of this section gives our recommendations for other aspects of
C formatting style, which is also the default style of the indent
program in version 1.2 and newer. It corresponds to the options

-nbad -bap -nbc -bbo -bl -bli2 -bls -ncdb -nce -cp1 -cs -di2
-ndj -nfc1 -nfca -hnl -i2 -ip5 -lp -pcs -psl -nsc -nsob
"""

There is no -nut.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Libc-alpha mailing list