-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
26 lines (21 loc) · 1.11 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# https://clang.llvm.org/extra/clang-tidy/index.html
# TODO(jhi): pending checks, continue at darwin-* and next ones
Checks: -*,
boost-*,
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
-bugprone-suspicious-include,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-pro-type-vararg
# TODO(jhi): fix theses warnings with gtest: [bugprone-suspicious-include]
# TODO(jhi): fix theses warnings using GSL: [cppcoreguidelines-owning-memory]
# TODO(jhi): fix theses warnings due to plog: [-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-type-reinterpret-cast]
# warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays] const char kManifestPath[] = "META-INF/MANIFEST.MF";
# TODO(jhi): do we want to change this rule?
# TODO(jhi): cppcoreguidelines-pro-type-vararg will be raised when linting gtest_main.cc