.clang-tidy 1.22 KB
Newer Older
1
2
3
FormatStyle: file

Checks: '
4
cppcoreguidelines-init-variables,
5
clang-analyzer-optin.cplusplus.VirtualCall,
6
llvm-namespace-comment,
7
8
misc-misplaced-const,
misc-static-assert,
9
misc-throw-by-value-catch-by-reference,
10
misc-uniqueptr-reset-release,
11
modernize-avoid-bind,
12
modernize-redundant-void-arg,
13
14
15
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-shrink-to-fit,
16
modernize-use-auto,
17
modernize-use-bool-literals,
18
19
modernize-use-equals-default,
modernize-use-equals-delete,
20
21
modernize-use-default-member-init,
modernize-use-noexcept,
22
modernize-use-emplace,
23
24
modernize-use-override,
modernize-use-using,
25
*performance*,
26
readability-container-size-empty,
27
readability-else-after-return,
28
29
30
31
32
33
34
readability-make-member-function-const,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-simplify-subscript-expr,
readability-string-compare,
readability-uniqueptr-delete-release,
35
36
'

37
CheckOptions:
38
39
- key:             performance-for-range-copy.WarnOnAllAutoCopies
  value:           true
40
41
42
- key:             performance-unnecessary-value-param.AllowedTypes
  value:           'exception_ptr$;'

43
HeaderFilterRegex: 'pybind11/.*h'
44
45

WarningsAsErrors: '*'