mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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
This commit is contained in:
14
.clang-tidy
Normal file
14
.clang-tidy
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# See https://clang.llvm.org/extra/clang-tidy/checks/list.html
|
||||||
|
|
||||||
|
Checks: '
|
||||||
|
-*,
|
||||||
|
llvm-*,
|
||||||
|
misc-*,
|
||||||
|
-misc-const-correctness,
|
||||||
|
-misc-unused-parameters,
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
|
-misc-no-recursion,
|
||||||
|
-misc-use-anonymous-namespace,
|
||||||
|
-readability-qualified-auto,
|
||||||
|
-llvm-qualified-auto
|
||||||
|
'
|
||||||
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
@@ -7,6 +7,9 @@
|
|||||||
# order.
|
# order.
|
||||||
|
|
||||||
# TODO: /.clang-format
|
# TODO: /.clang-format
|
||||||
|
|
||||||
|
/.clang-tidy @egorzhdan
|
||||||
|
|
||||||
# TODO: /.dir-locals.el
|
# TODO: /.dir-locals.el
|
||||||
# TODO: /.flake8
|
# TODO: /.flake8
|
||||||
# TODO: /.gitattributes
|
# TODO: /.gitattributes
|
||||||
|
|||||||
Reference in New Issue
Block a user