2019-08-16 22:23:00 +00:00
|
|
|
---
|
2020-03-18 16:42:27 +00:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
2023-03-02 23:23:50 +00:00
|
|
|
# SPDX-FileCopyrightText: 2018-2023, Collabora, Ltd. and the Monado contributors
|
2022-04-12 21:20:11 +00:00
|
|
|
# Ideally we'd turn back on some of these that are disabled.
|
|
|
|
# Things on the same line are synonyms
|
|
|
|
Checks: |
|
|
|
|
clang-diagnostic-*,
|
|
|
|
clang-analyzer-*,
|
2023-03-02 23:23:50 +00:00
|
|
|
hicpp-signed-bitwise,
|
2022-04-12 21:20:11 +00:00
|
|
|
performance-*,
|
|
|
|
bugprone-*,
|
|
|
|
cert-*,
|
|
|
|
readability-*,
|
|
|
|
misc-*,
|
|
|
|
-modernize-*,
|
|
|
|
-bugprone-macro-parentheses,
|
|
|
|
-bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp,
|
2022-04-13 19:01:26 +00:00
|
|
|
-cert-dcl21-cpp,
|
2022-04-12 21:20:11 +00:00
|
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
|
|
-clang-analyzer-security.insecureAPI.strcpy,
|
|
|
|
-clang-diagnostic-missing-braces,
|
|
|
|
-clang-diagnostic-missing-field-initializers,
|
2023-03-02 23:23:50 +00:00
|
|
|
-clang-diagnostic-unused-function,
|
2022-04-12 21:20:11 +00:00
|
|
|
-misc-non-private-member-variables-in-classes,
|
2023-03-02 23:23:50 +00:00
|
|
|
-misc-static-assert,-cert-dcl03-c,
|
2023-04-10 11:06:23 +00:00
|
|
|
-misc-unused-using-decls,
|
2022-04-12 21:20:11 +00:00
|
|
|
-misc-unused-parameters,
|
2024-01-12 16:41:56 +00:00
|
|
|
-misc-use-anonymous-namespace,
|
2023-03-02 23:23:50 +00:00
|
|
|
-performance-no-int-to-ptr,
|
2022-04-12 21:20:11 +00:00
|
|
|
-readability-braces-around-statements,
|
2023-03-02 23:23:50 +00:00
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
-readability-identifier-length,
|
2022-04-12 21:20:11 +00:00
|
|
|
-readability-implicit-bool-conversion,
|
|
|
|
-readability-redundant-access-specifiers,
|
2023-03-02 23:23:50 +00:00
|
|
|
-readability-uppercase-literal-suffix,-hicpp-uppercase-literal-suffix,
|
2022-04-13 19:01:26 +00:00
|
|
|
# Notes:
|
|
|
|
# misc-static-assert turns our assert(false) in failure/bad cases into static_asserts. We should revise them, but not like that.
|
|
|
|
# cert-dcl21-cpp is an overkill "recommendation" to return a special type from iterator post-increment
|
2019-08-16 22:23:00 +00:00
|
|
|
WarningsAsErrors: ''
|
|
|
|
HeaderFilterRegex: 'src/xrt/.*'
|
|
|
|
AnalyzeTemporaryDtors: false
|
|
|
|
FormatStyle: file
|
|
|
|
...
|