summaryrefslogtreecommitdiffstats
path: root/src/.indent.pro
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-04-18 20:08:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-04-18 20:08:24 (GMT)
commitfa3c25fbf0dafa1d5bd9817eb208a0db72f57232 (patch)
tree135ee92dee243644b83f51d5e0b715226c95ef33 /src/.indent.pro
parentef9c40754bdf5b5be1bb92e632da5e17a8d6913c (diff)
downloadhdf5-fa3c25fbf0dafa1d5bd9817eb208a0db72f57232.zip
hdf5-fa3c25fbf0dafa1d5bd9817eb208a0db72f57232.tar.gz
hdf5-fa3c25fbf0dafa1d5bd9817eb208a0db72f57232.tar.bz2
[svn-r5202] Purpose:
Code cleanup Description: Update 'indent' flags for library to include some flags in later versions of GNU indent. Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/.indent.pro')
-rw-r--r--src/.indent.pro74
1 files changed, 35 insertions, 39 deletions
diff --git a/src/.indent.pro b/src/.indent.pro
index eec56da..e0fda85 100644
--- a/src/.indent.pro
+++ b/src/.indent.pro
@@ -1,53 +1,49 @@
--bad /* Blank line after declarations */
--bap /* Blank line after procedure */
--bbb /* No blank line before boxed comments */
--sob /* Swallow optional blank lines */
--nfca /* Don't format comments on their own line */
--d0 /* Align comments on their own line with the surrounding code */
--c33 /* Start comments after code in column 33 */
+-bad /* Blank line after declarations */
+-bap /* Blank line after procedure */
+-bbb /* No blank line before boxed comments */
+-bbo /* Try to break long lines at boolean operators && and || */
+-nbc /* Don't force newlines after commas in declarations */
+-br /* Put braces on the same line as the statement (not -bl) */
+-brs /* Put braces on the same line as the struct declaration (not -bls) */
+-nbs /* Don't put a space between a sizeof operator and it's object */
+-c33 /* Start comments after code in column 33 */
+-cbi0 /* Indent braces below a case statement 0 spaces to right of case statement */
-cd33 /* Start comments after declarations in column 33 */
--cp0 /* Start comments after pre-processor directives immediately after the directive */
-ncdb /* Don't put comment delimiters on their own lines */
--sc /* Put stars at the beginning of multi-line comments */
--br /* Put braces on the same line as the statement */
--ce /* "Cuddle" else statements onto the same line as the closing if statement's brace */
-cdw /* "Cuddle" while statements onto the same line as the closing do statement's brace */
+-nce /* Don't "Cuddle" else statements onto the same line as the closing if statement's brace */
+-ci8 /* Align continued code 8 spaces from initial indention */
-cli4 /* Indent case statements 4 spaces to right of switch statement */
--cbi0 /* Indent braces below a case statement 0 spaces to right of case statement */
--ss /* Put a space before the semicolon if its the only statement in a for or while loop */
--npcs /* Don't put a space between the procedure name and it's parameters */
--ncs /* Don't put a space between a cast operator and it's object */
--nbs /* Don't put a space between a sizeof operator and it's object */
--nsaf /* Don't put a space between a for statement and it's initial parentheses */
--nsai /* Don't put a space between an if statement and it's initial parentheses */
--nsaw /* Don't put a space between a while statement and it's initial parentheses */
--nprs /* Don't add spaces around parentheses */
--di24 /* Align identifiers in declarations in column 24 */
--nbc /* Don't force newlines after commas in declarations */
+-cp0 /* Start comments after pre-processor directives immediately after the directive */
+-ncs /* Don't put a space between a cast operator and it's object */
+-d0 /* Align comments on their own line with the surrounding code */
-nbfda /* Don't force newlines after commas in function argument declarations */
--psl /* Force the return type of a procedure to be on it's own line */
--brs /* Put braces for struct definitions on the same line as the struct keyword */
+-di24 /* Align identifiers in declarations in column 24 */
+-nfc1 /* Don't format comments in the first column */
+-nfca /* Don't format comments on their own line */
+-hnl /* Honor existing new-lines in long boolean statements */
-i4 /* Indent space spaces */
+-ip8 /* Don't add any extra indention for nested parentheses */
+-l78 /* Try to break long lines in column 78 */
+-lc78 /* Try to break long comment lines in column 78 */
-nlp /* Don't align lines continued onto further lines with the opening parentheses */
--ci8 /* Align continued code 8 spaces from initial indention */
--ip4 /* Don't add any extra indention for nested parentheses */
-lps /* Leave spaces in preprocessor directives alone */
--l78 /* Try to break long lines in column 78 */
--bbo /* Try to break long lines at boolean operators && and || */
--hnl /* Honor existing new-lines in long boolen statements */
+-npcs /* Don't put a space between the procedure name and it's parameters */
+-npcs /* Don't put a space between the procedure name and it's parameters */
+-pi4 /* Extra indentation per open parentheses */
-pmt /* Preserve modification times on modified files */
+-nprs /* Don't add spaces around parentheses */
+-psl /* Force the return type of a procedure to be on it's own line */
+-nsaf /* Don't put a space between a for statement and it's initial parentheses */
+-nsai /* Don't put a space between an if statement and it's initial parentheses */
+-nsaw /* Don't put a space between a while statement and it's initial parentheses */
+-sbi0 /* Indent braces after a struct, union or enum 0 spaces */
+-sc /* Put stars at the beginning of multi-line comments */
+-nsob /* Don't swallow optional blank lines */
+-ss /* Put a space before the semicolon if its the only statement in a for or while loop */
+-ts8 /* Hard tab characters are 8 spaces */
/* The rest are typedefs used by the library, feel free to add missing ones, */
/* but try to keep them alphabetized */
--T uint8
--T int8
--T uint16
--T int16
--T uint32
--T int32
--T intn
--T uintn
--T float32
--T float64
-T H5AC_class_t
-T H5AC_prot_t
-T H5AC_slot_t