2012-09-20 07:51:34 +04:00
|
|
|
|
|
|
|
# detached brackets
|
|
|
|
--style=allman
|
|
|
|
|
|
|
|
# 4 spaces, no tabs
|
|
|
|
--indent=spaces=4
|
|
|
|
|
|
|
|
# for C++ files only
|
|
|
|
--indent-classes
|
|
|
|
|
2017-02-04 22:30:20 +03:00
|
|
|
# Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block.
|
2012-09-20 07:51:34 +04:00
|
|
|
# The entire case block is indented.
|
|
|
|
--indent-switches
|
|
|
|
|
|
|
|
# Add extra indentation to namespace blocks. This option has no effect on Java files.
|
|
|
|
--indent-namespaces
|
|
|
|
|
2017-02-04 22:30:20 +03:00
|
|
|
# Converts tabs into spaces in the non-indentation part of the line.
|
|
|
|
--convert-tabs
|
2012-09-20 07:51:34 +04:00
|
|
|
|
|
|
|
# requires --convert-tabs to work properly
|
2024-02-08 08:48:43 +03:00
|
|
|
--indent-preproc-define
|
2012-09-20 07:51:34 +04:00
|
|
|
|
|
|
|
--indent-col1-comments
|
|
|
|
|
|
|
|
--min-conditional-indent=2
|
|
|
|
|
2024-02-08 08:48:43 +03:00
|
|
|
--max-continuation-indent=40
|
2012-09-20 07:51:34 +04:00
|
|
|
|
2017-02-04 22:30:20 +03:00
|
|
|
# Insert space padding around operators.
|
2012-09-20 07:51:34 +04:00
|
|
|
--pad-oper
|
|
|
|
|
2017-02-04 22:30:20 +03:00
|
|
|
# Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
|
2012-09-20 07:51:34 +04:00
|
|
|
--pad-header
|
|
|
|
|
|
|
|
|
2017-02-04 22:30:20 +03:00
|
|
|
# Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...).
|
2024-02-08 08:48:43 +03:00
|
|
|
--add-braces
|
2012-09-20 07:51:34 +04:00
|
|
|
|
|
|
|
--align-pointer=name
|
|
|
|
|
|
|
|
# Do not retain a backup of the original file. The original file is purged after it is formatted.
|
|
|
|
--suffix=none
|
|
|
|
|
|
|
|
# For each directory in the command line, process all subdirectories recursively.
|
2017-02-04 22:30:20 +03:00
|
|
|
--recursive
|
2012-09-20 07:51:34 +04:00
|
|
|
|
2021-05-08 19:53:32 +03:00
|
|
|
# Exclude git submodule directories and generated files.
|
|
|
|
--exclude=libpainter
|
|
|
|
--exclude=librfxcodec
|
|
|
|
--exclude=xrdp_configure_options.h
|
|
|
|
|
|
|
|
# ignore errors from generated files that do not exist
|
|
|
|
--ignore-exclude-errors
|
|
|
|
|
2012-09-20 07:51:34 +04:00
|
|
|
# Preserve the original file's date and time modified.
|
|
|
|
--preserve-date
|
|
|
|
|
2017-02-04 22:30:20 +03:00
|
|
|
# Formatted files display mode. Display only the files that have been formatted.
|
2012-09-20 07:51:34 +04:00
|
|
|
# Do not display files that are unchanged.
|
|
|
|
--formatted
|
|
|
|
|
|
|
|
--lineend=linux
|