Clang tidy config #6277

merged 1 commit into from Jan 9, 2017


None yet

1 participant

dagar commented Jan 9, 2017 edited

This adds a clang-tidy config file .clang-tidy which lists checks to use and ignore. You can run the checks with make clang-tidy which builds posix_sitl_default under clang and then runs clang-tidy.

@LorenzMeier I'm not sure yet if this will be useful, but if we find valuable checks we can turn them on as errors and set this to run in the builds.
Full list of checks here -

@dagar dagar clang-tidy create config file .clang-tidy
@dagar dagar merged commit b8afc97 into PX4:master Jan 9, 2017

0 of 4 checks passed

ci/circleci CircleCI is running your tests
continuous-integration/sitl/pr Build started sha1 is merged.
continuous-integration/travis-ci/pr The Travis CI build is in progress
semaphoreci The build is pending on Semaphore.
@dagar dagar deleted the dagar:clang-tidy branch Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment