summaryrefslogtreecommitdiffstats
path: root/lib/clippy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib/clippy: error out on unsupported bitsDavid Lamparter2019-06-121-2/+0
| | | | | | | | | clippy can't process #ifdef or similar bits inside of an argument list (e.g. within the braces of a DEFUN or DEFPY statement.) Improve error reporting to catch these cases instead of generating broken C code. Fixes: #3840 Signed-off-by: David Lamparter <equinox@diac24.net>
* lib: untrusted argument (Coverity 1448386)paco2018-06-271-2/+4
| | | | Signed-off-by: F. Aragon <paco@voltanet.io>
* *: reindentreindent-master-afterwhitespace / reindent2017-07-171-17/+18
| | | | | | indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: clippy the assistantDavid Lamparter2017-06-141-0/+137
Wraps the command parsing code for Python, so we can use it to do fancy preprocessing and replace extract.pl. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>