Clang tidy config #6277

Merged
merged 1 commit into from Jan 9, 2017

Projects

None yet

1 participant

@dagar
Member
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 - http://clang.llvm.org/extra/clang-tidy/checks/list.html

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

0 of 4 checks passed

ci/circleci CircleCI is running your tests
Details
continuous-integration/sitl/pr Build started sha1 is merged.
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
semaphoreci The build is pending on Semaphore.
Details
@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