diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/spdk/.astylerc | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/spdk/.astylerc')
-rw-r--r-- | src/spdk/.astylerc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/spdk/.astylerc b/src/spdk/.astylerc new file mode 100644 index 00000000..456f890e --- /dev/null +++ b/src/spdk/.astylerc @@ -0,0 +1,27 @@ +# Bracket Style +style=kr # K&R brackets +j # Add braces to one-line conditional statements +keep-one-line-blocks # Don't break blocks that are on one line + +# Indentation +indent=force-tab=8 # Use tabs for indentation, spaces for minor alignment +min-conditional-indent=0 + +# Padding +unpad-paren # Remove all spaces with parens that aren't requested below +pad-oper # Put spaces around operators +pad-header # Put spaces between if/while/for etc. and the first paren + +# Pointers +align-pointer=name # Align the * next to the variable name + +# Line wrapping +max-code-length=100 # 100 character line limit +break-after-logical # For if statements, wrap to the next line after logical operator + +# Line endings +lineend=linux # LF line endings + +# General options +suffix=none +formatted |