2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 08:38:14 +10:00
openocd/doc/manual
Antonio Borneo 3d46346e07 coding-style: additional style for C code
To improve readability and to push more uniform code style.

Prefer 'if (false) {...}' for unused code so it get checked by the
compiler.
Define preferred indentation for 'switch' statement.
Require balanced brackets in 'if/else'.
Report the max line length.
Report the formatting strings for stdint/inttypes types.
Report the type 'target_addr_t'.
Prefer 'unsigned int' to 'unsigned'.

Change-Id: I0192a4ed298f6c6c432764fdd156cffd4b13fc89
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6203
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Marc Schink <dev@zapb.de>
2021-05-08 09:50:43 +01:00
..
images
jtag/drivers doc: fix several typos within manual documents 2018-05-09 11:43:23 +01:00
primer doc/manual/primer/autotools.txt: fix doxygen warning 2021-01-13 11:33:57 +00:00
target doc/target/mips: fix grammar 2020-07-26 20:08:48 +01:00
app.txt
flash.txt
helper.txt doc/manual: Fix function name typo 2021-02-03 17:19:01 +00:00
jtag.txt zy1000: drop the code, deprecated in v0.10.0 2021-03-19 21:55:50 +00:00
main.txt doc/manual: Fix @subpage handling 2021-02-03 17:18:54 +00:00
release.txt doc: remove duplicated words 2020-07-14 00:39:18 +01:00
scripting.txt doc: fix several typos within manual documents 2018-05-09 11:43:23 +01:00
server.txt doc: remove duplicated words 2020-07-14 00:39:18 +01:00
style.txt coding-style: additional style for C code 2021-05-08 09:50:43 +01:00
target.txt