(file) Return to CODING CVS log (file) (dir) Up to [XFree86 CVS] / xc / programs / Xserver / hw / xfree86 / doc

File: [XFree86 CVS] / xc / programs / Xserver / hw / xfree86 / doc / CODING (download)
Revision: 3.8, Thu Feb 9 00:48:09 2006 UTC (7 years, 4 months ago) by dawes
Branch: MAIN
CVS Tags: xf-4_8_0-bindist, xf-4_8_0, xf-4_8-branch, xf-4_7_99_9, xf-4_7_99_8, xf-4_7_99_7, xf-4_7_99_6, xf-4_7_99_5, xf-4_7_99_4, xf-4_7_99_31, xf-4_7_99_30, xf-4_7_99_3, xf-4_7_99_29, xf-4_7_99_28, xf-4_7_99_27, xf-4_7_99_26, xf-4_7_99_25, xf-4_7_99_24, xf-4_7_99_23, xf-4_7_99_22, xf-4_7_99_21, xf-4_7_99_20, xf-4_7_99_2, xf-4_7_99_19, xf-4_7_99_18, xf-4_7_99_17, xf-4_7_99_16, xf-4_7_99_15, xf-4_7_99_14, xf-4_7_99_13, xf-4_7_99_12, xf-4_7_99_11, xf-4_7_99_10, xf-4_7_99_1, xf-4_7_0, xf-4_7-branch, xf-4_6_99_9, xf-4_6_99_8, xf-4_6_99_7, xf-4_6_99_6, xf-4_6_99_5, xf-4_6_99_4, xf-4_6_99_3, xf-4_6_99_29, xf-4_6_99_28, xf-4_6_99_27, xf-4_6_99_26, xf-4_6_99_25, xf-4_6_99_24, xf-4_6_99_23, xf-4_6_99_22, xf-4_6_99_21, xf-4_6_99_20, xf-4_6_99_2, xf-4_6_99_19, xf-4_6_99_18, xf-4_6_99_17, xf-4_6_99_16, xf-4_6_99_15, xf-4_6_99_14, xf-4_6_99_13, xf-4_6_99_12, xf-4_6_99_11, xf-4_6_99_10, xf-4_6_99_1, xf-4_6_0, xf-4_6-branch, xf-4_5_99_904, xf-4_5_99_903, xf-4_5_99_902, xf-4_5_99_901, xf-4_5_99_22, HEAD
Changes since 3.7: +5 -3 lines
minor updates/clarfications

 $XFree86: xc/programs/Xserver/hw/xfree86/doc/CODING,v 3.7 2006/01/09 14:59:52 dawes Exp $
 GNU indent options:

-bad -bap -c40 -cd0 -ncdb -ci4 -cli0 -cp0 -ncs -d0
-di4 -i4 -ip4 -l78 -nlp -npcs -psl -sob -ss -br -ce -sc -ts8 -ut

-bad  forces a blank line after every block of declarations.
-bap  forces a blank line after every procedure body.
-c40  put comments to the right of code in column 40
-cd0  put comments immediately to the right of the declarations.
-ncdb do not put comment delimiters on blank lines
-ci4  continuation indent of 4 spaces.
-cli0 case label indent of 0 spaces
-cp0  put comments immediately to the right of `#else' and `#endif' statements
-ncs  do not put a space after cast operators
-d0   set indentation of comments not to the right of code to 0 spaces
-di4  put variables in column 4
-i4   set indentation level to 4 spaces
-ip4  indent parameter types in old-style function definitions by 4 spaces
-l78  set maximum line length to 78
-lp   line up continued lines at parentheses
-npcs do not put space after the function in function calls
-psl  put the type of a procedure on the line before its name
-sob  swallow optional blank lines
-ss   on one-line `for' and `while' statments, force a blank before the semicolo
n
-ce   cuddle else and preceeding `}'
-sc   put the `*' character at the left of comments
-t8   <tab> size is 8 spaces
-ut   use <tab> characters for indentations greater than the <tab> size
-br   formats braces like this:

                 if (x > 0) {
                        x--;
                 }


Powered by
ViewCVS 0.9.2