forked from TF-Hafnium/hafnium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
31 lines (28 loc) · 846 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
Checks: >
bugprone-*,
clang-analyzer-*,
google-runtime-int,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-valist.Uninitialized,
-misc-include-cleaner,
-misc-redundant-expression,
-modernize-deprecated-headers,
-modernize-macro-to-enum,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-magic-numbers,
-readability-suspicious-call-argument,
# TODO: replace with `ExcludeHeaderFilterRegex: '^third_party/.*'` when
# clang-tidy 19 is released
HeaderFilterRegex: '^(inc|src|test|vmlib).+'
FormatStyle: file
WarningsAsErrors: '*'
CheckOptions:
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: "__stack_chk_guard;__stack_chk_fail"