Skip to content

Commit 080eeac

Browse files
committed
NFC: Add clang-tidy config file
This makes sure that folks who use clang-tidy see consistent code analysis reports. This is especially helpful for those using IDEs with clang-tidy integration. The config file is based on the LLVM `.clang-tidy` file: https://github.com/llvm/llvm-project/blob/main/.clang-tidy
1 parent 42cbacf commit 080eeac

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.clang-tidy

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See https://clang.llvm.org/extra/clang-tidy/checks/list.html
2+
3+
Checks: '
4+
-*,
5+
llvm-*,
6+
misc-*,
7+
-misc-const-correctness,
8+
-misc-unused-parameters,
9+
-misc-non-private-member-variables-in-classes,
10+
-misc-no-recursion,
11+
-misc-use-anonymous-namespace,
12+
-readability-qualified-auto,
13+
-llvm-qualified-auto
14+
'

.github/CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# order.
88

99
# TODO: /.clang-format
10+
11+
/.clang-tidy @egorzhdan
12+
1013
# TODO: /.dir-locals.el
1114
# TODO: /.flake8
1215
# TODO: /.gitattributes

0 commit comments

Comments
 (0)