forked from STEllAR-GROUP/hpx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
31 lines (30 loc) · 938 Bytes
/
.clang-tidy
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
# 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,
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'