]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
build: support `make lint-c` with clang-tidy
authorMarek Vavruša <mvavrusa@cloudflare.com>
Thu, 11 Jan 2018 01:09:04 +0000 (17:09 -0800)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 12 Jan 2018 05:58:52 +0000 (21:58 -0800)
commitad213c4720deaa01962ed626e511b69aae4693ff
tree028ac25853fda08e7f62537bb241278f6f53155e
parentdf4b5eb2a0a11393964c23fc42c538bad9b5f940
build: support `make lint-c` with clang-tidy

This supports linting of C code using clang-tidy to fix common
security and code quality issues early in the development workflow.
The benefit is that less time has to be spent in code reviews to
point out obvious problems, and ideally when the outstanding issues
are fixed, clang-tidy (and clang-format) can also be used to to
automatically fix basic problems and enforce common code style,
similarly to `go vet && go fmt` workflow.
.clang-tidy [new file with mode: 0644]
.gitlab-ci.yml
Makefile
ci/Dockerfile
doc/build.rst
platform.mk