-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-tidy
More file actions
23 lines (21 loc) · 836 Bytes
/
.clang-tidy
File metadata and controls
23 lines (21 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-exception-escape,
misc-include-cleaner,
performance-*,
-performance-avoid-endl,
-performance-enum-size,
readability-redundant-*,
HeaderFilterRegex: '.*/include/hegel/.*|.*/src/.*'
# include-cleaner traces symbols to the header where they're actually defined,
# not the public header they're supposed to be included from. This causes false
# positives for:
# - nlohmann/json: types defined in nlohmann/detail/... internal headers
# - glibc (linux): symbols defined in bits/... internal headers
# - libc (macos): symbols defined in sys/_... internal headers
# - arpa/inet.h: flagged as unused once its symbols are ignored via the above
CheckOptions:
- key: misc-include-cleaner.IgnoreHeaders
value: "nlohmann/.*;bits/.*;sys/_.*;arpa/.*"