-
Notifications
You must be signed in to change notification settings - Fork 10
/
.clang-tidy
34 lines (33 loc) · 1.04 KB
/
.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
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-easily-swappable-parameters,
-bugprone-exception-escape,
-bugprone-forward-declaration-namespace,
-bugprone-macro-parentheses,
-bugprone-narrowing-conversions,
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,
modernize-concat-nested-namespaces,
modernize-use-nullptr,
modernize-use-using,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*pika.*'
CheckOptions:
- key: bugprone-assert-side-effect.CheckFunctionCalls
value: 1
- key: bugprone-assert-side-effect.AssertMacros
value: 'PIKA_ASSERT'