|
1 |
| -# See: http://releases.llvm.org/6.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/list.html |
| 1 | +# See: http://clang.llvm.org/extra/clang-tidy/ |
| 2 | +# clang-tidy-4.0 src/pvt_engine/*.cc -- -std=c++14 -Irefactor/common/ -Irefactor/common/libswiftnav -Iinclude/ -Iinclude/libswiftnav/ -isystem -third_party/ -isystem./libfec/include/ -Ithird_party/Optional -isystem./third_party/json/src/ -isystem./third_party/eigen/ |
| 3 | +# |
| 4 | +# TODO (mookerji: Disabled are clang-analyzer-alpha.*, since these seem to check |
| 5 | +# non-project code. Fix when resolved in LLVM. |
| 6 | +# |
| 7 | +# TODO (nsirola: Disabled a bunch of checks on updating to clang-4.0, to be |
| 8 | +# re-enabled and checked individually: |
| 9 | +# -modernize-deprecated-headers (new in 3.9) |
| 10 | +# -modernize-use-default-member-init (new in 4.0) |
| 11 | +# -modernize-redundant-void-arg (since 3.8, for some reason did not warn before) |
| 12 | +# -modernize-use-using (new in 3.9) |
| 13 | +# -modernize-use-equals-delete (new in 4.0) |
| 14 | +# -modernize-use-equals-default (new in 4.0) |
| 15 | +# -modernize-use-bool-literals (new in 3.9) |
| 16 | +# -modernize-use-auto (extended in 4.0) |
| 17 | +# -modernize-use-emplace (new in 3.9) |
| 18 | +# -cppcoreguidelines-special-member-functions (new in 4.0) |
| 19 | +# -cppcoreguidelines-pro-type-member-init (new in 3.9) |
| 20 | +# -readability-avoid-const-params-in-decls (new in 3.9) |
| 21 | +# -readability-non-const-parameter (new in 4.0) |
| 22 | +# -readability-redundant-member-init (new in 4.0) |
| 23 | +# -readability-redundant-declaration (new in 4.0) |
| 24 | +# -cert-err34-c (new in 3.9) |
| 25 | +# -cert-err58-cpp (since 3.8, for some reason did not warn before) |
| 26 | +# -performance-unnecessary-value-param (new in 3.9) |
| 27 | +# -google-runtime-references (new in 4.0) |
| 28 | +# -clang-analyzer-optin.cplusplus.VirtualCall (new in 4.0) |
| 29 | +# -clang-analyzer-core.CallAndMessage (not mentioned in release notes) |
| 30 | +# -clang-analyzer-core.UndefinedBinaryOperatorResult (not mentioned in release notes) |
| 31 | +# -clang-analyzer-core.uninitialized.Assign (not mentioned in release notes) |
| 32 | +# |
| 33 | +# TODO jbangelo: Disabled several more check on updating to clang-6.0, really should re-enable and fix |
| 34 | +# -cppcoreguidelines-owning-memory |
| 35 | +# -cert-dcl21-cpp |
| 36 | +# -modernize-return-braced-init-list |
| 37 | + |
| 38 | +Checks: "-*,cert-*,google-*,misc-*,readability-*,clang-analyzer-*,modernize-*,performance-*,-clang-analyzer-alpha*,cppcoreguidelines-*,cert-*,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-vararg,-modernize-pass-by-value,-modernize-deprecated-headers,-modernize-use-default-member-init,-modernize-redundant-void-arg,-modernize-use-using,-modernize-use-equals-delete,-modernize-use-equals-default,-modernize-use-bool-literals,-modernize-use-auto,-modernize-use-emplace,-cppcoreguidelines-special-member-functions,-cppcoreguidelines-pro-type-member-init,-readability-avoid-const-params-in-decls,-readability-non-const-parameter,-readability-redundant-member-init,-readability-redundant-declaration,-cert-err34-c,-cert-err58-cpp,-performance-unnecessary-value-param,-google-runtime-references,-clang-analyzer-optin.cplusplus.VirtualCall,-clang-analyzer-core.CallAndMessage,-clang-analyzer-core.UndefinedBinaryOperatorResult,-clang-analyzer-core.uninitialized.Assign,-cppcoreguidelines-owning-memory,-clang-analyzer-core.uninitialized.UndefReturn,-cert-dcl21-cpp,-modernize-return-braced-init-list,-cert-dcl03-c,-misc-static-assert" |
| 39 | +HeaderFilterRegex: '.*' |
| 40 | +AnalyzeTemporaryDtors: true |
| 41 | +... |
2 | 42 |
|
3 |
| -Checks: "*, |
4 |
| - -cert-dcl03-c,-misc-static-assert,-hicpp-static-assert, |
5 |
| - -hicpp-signed-bitwise, |
6 |
| - -bugprone-integer-division, |
7 |
| - -llvm-header-guard" |
|
0 commit comments