-
Notifications
You must be signed in to change notification settings - Fork 96
/
.clang-tidy
28 lines (28 loc) · 981 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
---
HeaderFilterRegex: '.*'
# disable clang-analyzer-core.UndefinedBinaryOperatorResult
# ROOT throws lots of them in their headers
# Bugprone:
# These could cause actual bugs.
# C++ Core Guidelines
# * cppcoreguidelines-virtual-class-destructor
# Avoid undefined behaviour
# * cppcoreguidelines-pro-type-cstyle-cast
# Avoid C-Style Casts which might be problematic
# enable google-build-using-namespace
# "using namespace" imports a changing amount of symbols, avoid it
# improve readability:
# readability-simplify-boolean-expr
Checks: >-
-clang-analyzer-core.UndefinedBinaryOperatorResult,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-bugprone-virtual-near-miss,
-bugprone-unhandled-self-assignment,
-bugprone-reserved-identifier,
cppcoreguidelines-pro-type-cstyle-cast,
cppcoreguidelines-virtual-class-destructor,
modernize-make-unique,
google-build-using-namespace,
readability-simplify-boolean-expr