From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- src/spdk/.astylerc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/spdk/.astylerc (limited to 'src/spdk/.astylerc') diff --git a/src/spdk/.astylerc b/src/spdk/.astylerc new file mode 100644 index 000000000..456f890e5 --- /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 -- cgit v1.2.3