| 1 |
--- |
| 2 |
# SPDX-License-Identifier: CC0-1.0 |
| 3 |
# SPDX-FileCopyrightText: 2018-2023, Collabora, Ltd. and the Monado contributors |
| 4 |
# Ideally we'd turn back on some of these that are disabled. |
| 5 |
# Things on the same line are synonyms |
| 6 |
Checks: | |
| 7 |
clang-diagnostic-*, |
| 8 |
clang-analyzer-*, |
| 9 |
hicpp-signed-bitwise, |
| 10 |
performance-*, |
| 11 |
bugprone-*, |
| 12 |
cert-*, |
| 13 |
readability-*, |
| 14 |
misc-*, |
| 15 |
-modernize-*, |
| 16 |
-bugprone-macro-parentheses, |
| 17 |
-bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp, |
| 18 |
-cert-dcl21-cpp, |
| 19 |
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, |
| 20 |
-clang-analyzer-security.insecureAPI.strcpy, |
| 21 |
-clang-diagnostic-missing-braces, |
| 22 |
-clang-diagnostic-missing-field-initializers, |
| 23 |
-clang-diagnostic-unused-function, |
| 24 |
-misc-non-private-member-variables-in-classes, |
| 25 |
-misc-static-assert,-cert-dcl03-c, |
| 26 |
-misc-unused-using-decls, |
| 27 |
-misc-unused-parameters, |
| 28 |
-misc-use-anonymous-namespace, |
| 29 |
-performance-no-int-to-ptr, |
| 30 |
-readability-braces-around-statements, |
| 31 |
-readability-function-cognitive-complexity, |
| 32 |
-readability-identifier-length, |
| 33 |
-readability-implicit-bool-conversion, |
| 34 |
-readability-redundant-access-specifiers, |
| 35 |
-readability-uppercase-literal-suffix,-hicpp-uppercase-literal-suffix, |
| 36 |
# Notes: |
| 37 |
# misc-static-assert turns our assert(false) in failure/bad cases into static_asserts. We should revise them, but not like that. |
| 38 |
# cert-dcl21-cpp is an overkill "recommendation" to return a special type from iterator post-increment |
| 39 |
WarningsAsErrors: '' |
| 40 |
HeaderFilterRegex: 'src/xrt/.*' |
| 41 |
AnalyzeTemporaryDtors: false |
| 42 |
FormatStyle: file |
| 43 |
... |