forked from nsnam/ns-3-dev-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
63 lines (60 loc) · 1.98 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Checks: >
-*,
bugprone-argument-comment,
bugprone-bool-pointer-implicit-conversion,
bugprone-branch-clone,
bugprone-inaccurate-erase,
bugprone-move-forwarding-reference,
bugprone-redundant-branch-condition,
bugprone-string-constructor,
bugprone-string-integer-assignment,
bugprone-suspicious-memset-usage,
bugprone-suspicious-semicolon,
bugprone-suspicious-string-compare,
bugprone-terminating-continue,
bugprone-too-small-loop-variable,
bugprone-virtual-near-miss,
misc-redundant-expression,
misc-static-assert,
modernize-make-shared,
modernize-make-unique,
modernize-redundant-void-arg,
modernize-type-traits,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-equals-delete,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-algorithm,
performance-inefficient-vector-operation,
performance-trivially-destructible,
performance-unnecessary-copy-initialization,
readability-braces-around-statements,
readability-container-size-empty,
readability-isolate-declaration,
readability-make-member-function-const,
readability-misplaced-array-index,
readability-redundant-control-flow,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-simplify-boolean-expr,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
CheckOptions:
- key: performance-unnecessary-copy-initialization.AllowedTypes
value: Ptr
- key: readability-simplify-boolean-expr.SimplifyDeMorgan
value: false
ExtraArgsBefore:
- -Wno-unknown-warning-option
FormatStyle: "file"
HeaderFilterRegex: ".*(ns|NS).*/(contrib|examples|src|scratch|utils)/*/.*h"
UseColor: true