-
-
Notifications
You must be signed in to change notification settings - Fork 543
Expand file tree
/
Copy path.clang-tidy
More file actions
34 lines (33 loc) · 1.03 KB
/
.clang-tidy
File metadata and controls
34 lines (33 loc) · 1.03 KB
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
27
28
29
30
31
32
33
34
# Copyright (c) 2019 Thomas Heller
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Checks: >
-*,
bugprone-*,
-bugprone-assert-side-effect,
-bugprone-exception-escape,
-bugprone-forward-declaration-namespace,
-bugprone-macro-parentheses,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-reserved-identifier,
-bugprone-lambda-function-name,
modernize-use-nullptr,
misc-assert-side-effect
misc-dangling-handle
misc-forwarding-reference-overload
misc-move-constructor-init
misc-move-forwarding-reference
misc-multiple-statement-macro
misc-non-copyable-objects
misc-use-after-move
misc-virtual-near-miss
WarningsAsErrors: '*'
HeaderFilterRegex: '.*hpx.*'
CheckOptions:
- key: bugprone-assert-side-effect.CheckFunctionCalls
value: 1
- key: bugprone-assert-side-effect.AssertMacros
value: 'HPX_ASSERT'