forked from mantidproject/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
28 lines (22 loc) · 1.01 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
# Yaml file format
Checks: >
*,
-abseil-*,-android-*,-altera-*,-fuchsia-*,-llvmlibc-*,-objc-*,
-google-build-using-namespace,
-google-readability-braces-around-statements,-hicpp-braces-around-statements,-readability-braces-around-statements,
-modernize-use-trailing-return-type,
-readability-implicit-bool-conversion
# Skip the following family of checks (for perf as we don't touch these libs at all):
# abseil-*
# android-*
# altera-*
# fuchsia-*
# llvmlibc-*
# objc-*
# The following checks are additionally disabled above:
# -google-build-using-namespace Useful for headers, but we can't filter out .cpp where it's used frequently
# -google-readability-braces-around-statements We use if blocks without braces throughout
# -readability-braces-around-statements Ditto
# -hicpp-braces-around-statements Ditto
# -modernize-use-trailing-return-type We use the old style throughout
# -readability-implicit-bool-conversion Allow if(!ptr) rather than (ptr==nullptr)