-
Notifications
You must be signed in to change notification settings - Fork 0
/
checks.json
720 lines (720 loc) · 29.4 KB
/
checks.json
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
{
"enabled": true,
"categories": {
"abseil": {
"enabled": true,
"issues": {
"abseil-duration-addition": true,
"abseil-duration-comparison": true,
"abseil-duration-conversion-cast": true,
"abseil-duration-division": true,
"abseil-duration-factory-float": true,
"abseil-duration-factory-scale": true,
"abseil-duration-subtraction": true,
"abseil-duration-unnecessary-conversion": true,
"abseil-faster-strsplit-delimiter": true,
"abseil-no-internal-dependencies": true,
"abseil-no-namespace": true,
"abseil-redundant-strcat-calls": true,
"abseil-str-cat-append": true,
"abseil-string-find-startswith": true,
"abseil-string-find-str-contains": true,
"abseil-time-comparison": true,
"abseil-time-subtraction": true,
"abseil-upgrade-duration-conversions": true
}
},
"altera": {
"enabled": true,
"issues": {
"altera-id-dependent-backward-branch": true,
"altera-kernel-name-restriction": true,
"altera-single-work-item-barrier": true,
"altera-struct-pack-align": true,
"altera-unroll-loops": true
}
},
"android": {
"enabled": true,
"issues": {
"android-cloexec-accept": true,
"android-cloexec-accept4": true,
"android-cloexec-creat": true,
"android-cloexec-dup": true,
"android-cloexec-epoll-create": true,
"android-cloexec-epoll-create1": true,
"android-cloexec-fopen": true,
"android-cloexec-inotify-init": true,
"android-cloexec-inotify-init1": true,
"android-cloexec-memfd-create": true,
"android-cloexec-open": true,
"android-cloexec-pipe": true,
"android-cloexec-pipe2": true,
"android-cloexec-socket": true,
"android-comparison-in-temp-failure-retry": true
}
},
"boost": { "enabled": true, "issues": { "boost-use-to-string": true } },
"bugprone": {
"enabled": true,
"issues": {
"bugprone-argument-comment": true,
"bugprone-assert-side-effect": true,
"bugprone-bad-signal-to-kill-thread": true,
"bugprone-bool-pointer-implicit-conversion": true,
"bugprone-branch-clone": true,
"bugprone-copy-constructor-init": true,
"bugprone-dangling-handle": true,
"bugprone-dynamic-static-initializers": true,
"bugprone-easily-swappable-parameters": true,
"bugprone-exception-escape": true,
"bugprone-fold-init-type": true,
"bugprone-forward-declaration-namespace": true,
"bugprone-forwarding-reference-overload": true,
"bugprone-implicit-widening-of-multiplication-result": true,
"bugprone-inaccurate-erase": true,
"bugprone-incorrect-roundings": true,
"bugprone-infinite-loop": true,
"bugprone-integer-division": true,
"bugprone-lambda-function-name": true,
"bugprone-macro-parentheses": true,
"bugprone-macro-repeated-side-effects": true,
"bugprone-misplaced-operator-in-strlen-in-alloc": true,
"bugprone-misplaced-pointer-arithmetic-in-alloc": true,
"bugprone-misplaced-widening-cast": true,
"bugprone-move-forwarding-reference": true,
"bugprone-multiple-statement-macro": true,
"bugprone-narrowing-conversions": true,
"bugprone-no-escape": true,
"bugprone-not-null-terminated-result": true,
"bugprone-parent-virtual-call": true,
"bugprone-posix-return": true,
"bugprone-redundant-branch-condition": true,
"bugprone-reserved-identifier": true,
"bugprone-signal-handler": true,
"bugprone-signed-char-misuse": true,
"bugprone-sizeof-container": true,
"bugprone-sizeof-expression": true,
"bugprone-spuriously-wake-up-functions": true,
"bugprone-string-constructor": true,
"bugprone-string-integer-assignment": true,
"bugprone-string-literal-with-embedded-nul": true,
"bugprone-suspicious-enum-usage": true,
"bugprone-suspicious-include": true,
"bugprone-suspicious-memory-comparison": true,
"bugprone-suspicious-memset-usage": true,
"bugprone-suspicious-missing-comma": true,
"bugprone-suspicious-semicolon": true,
"bugprone-suspicious-string-compare": true,
"bugprone-swapped-arguments": true,
"bugprone-terminating-continue": true,
"bugprone-throw-keyword-missing": true,
"bugprone-too-small-loop-variable": true,
"bugprone-undefined-memory-manipulation": true,
"bugprone-undelegated-constructor": true,
"bugprone-unhandled-exception-at-new": true,
"bugprone-unhandled-self-assignment": true,
"bugprone-unused-raii": true,
"bugprone-unused-return-value": true,
"bugprone-use-after-move": true,
"bugprone-virtual-near-miss": true
}
},
"cert": {
"enabled": true,
"issues": {
"cert-con36-c": true,
"cert-con54-cpp": true,
"cert-dcl03-c": true,
"cert-dcl16-c": true,
"cert-dcl21-cpp": true,
"cert-dcl37-c": true,
"cert-dcl50-cpp": true,
"cert-dcl51-cpp": true,
"cert-dcl54-cpp": true,
"cert-dcl58-cpp": true,
"cert-dcl59-cpp": true,
"cert-env33-c": true,
"cert-err09-cpp": true,
"cert-err34-c": true,
"cert-err52-cpp": true,
"cert-err58-cpp": true,
"cert-err60-cpp": true,
"cert-err61-cpp": true,
"cert-exp42-c": true,
"cert-fio38-c": true,
"cert-flp30-c": true,
"cert-flp37-c": true,
"cert-mem57-cpp": true,
"cert-msc30-c": true,
"cert-msc32-c": true,
"cert-msc50-cpp": true,
"cert-msc51-cpp": true,
"cert-oop11-cpp": true,
"cert-oop54-cpp": true,
"cert-oop57-cpp": true,
"cert-oop58-cpp": true,
"cert-pos44-c": true,
"cert-pos47-c": true,
"cert-sig30-c": true,
"cert-str34-c": true
}
},
"clang": {
"enabled": true,
"issues": {
"clang-analyzer-apiModeling.StdCLibraryFunctions": true,
"clang-analyzer-apiModeling.TrustNonnull": true,
"clang-analyzer-apiModeling.google.GTest": true,
"clang-analyzer-apiModeling.llvm.CastValue": true,
"clang-analyzer-apiModeling.llvm.ReturnValue": true,
"clang-analyzer-core.CallAndMessage": true,
"clang-analyzer-core.CallAndMessageModeling": true,
"clang-analyzer-core.DivideZero": true,
"clang-analyzer-core.DynamicTypePropagation": true,
"clang-analyzer-core.NonNullParamChecker": true,
"clang-analyzer-core.NonnilStringConstants": true,
"clang-analyzer-core.NullDereference": true,
"clang-analyzer-core.StackAddrEscapeBase": true,
"clang-analyzer-core.StackAddressEscape": true,
"clang-analyzer-core.UndefinedBinaryOperatorResult": true,
"clang-analyzer-core.VLASize": true,
"clang-analyzer-core.builtin.BuiltinFunctions": true,
"clang-analyzer-core.builtin.NoReturnFunctions": true,
"clang-analyzer-core.uninitialized.ArraySubscript": true,
"clang-analyzer-core.uninitialized.Assign": true,
"clang-analyzer-core.uninitialized.Branch": true,
"clang-analyzer-core.uninitialized.CapturedBlockVariable": true,
"clang-analyzer-core.uninitialized.UndefReturn": true,
"clang-analyzer-cplusplus.InnerPointer": true,
"clang-analyzer-cplusplus.Move": true,
"clang-analyzer-cplusplus.NewDelete": true,
"clang-analyzer-cplusplus.NewDeleteLeaks": true,
"clang-analyzer-cplusplus.PlacementNew": true,
"clang-analyzer-cplusplus.PureVirtualCall": true,
"clang-analyzer-cplusplus.SelfAssignment": true,
"clang-analyzer-cplusplus.SmartPtrModeling": true,
"clang-analyzer-cplusplus.VirtualCallModeling": true,
"clang-analyzer-deadcode.DeadStores": true,
"clang-analyzer-fuchsia.HandleChecker": true,
"clang-analyzer-nullability.NullPassedToNonnull": true,
"clang-analyzer-nullability.NullReturnedFromNonnull": true,
"clang-analyzer-nullability.NullabilityBase": true,
"clang-analyzer-nullability.NullableDereferenced": true,
"clang-analyzer-nullability.NullablePassedToNonnull": true,
"clang-analyzer-nullability.NullableReturnedFromNonnull": true,
"clang-analyzer-optin.cplusplus.UninitializedObject": true,
"clang-analyzer-optin.cplusplus.VirtualCall": true,
"clang-analyzer-optin.mpi.MPI-Checker": true,
"clang-analyzer-optin.osx.OSObjectCStyleCast": true,
"clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker": true,
"clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker": true,
"clang-analyzer-optin.performance.GCDAntipattern": true,
"clang-analyzer-optin.performance.Padding": true,
"clang-analyzer-optin.portability.UnixAPI": true,
"clang-analyzer-osx.API": true,
"clang-analyzer-osx.MIG": true,
"clang-analyzer-osx.NSOrCFErrorDerefChecker": true,
"clang-analyzer-osx.NumberObjectConversion": true,
"clang-analyzer-osx.OSObjectRetainCount": true,
"clang-analyzer-osx.ObjCProperty": true,
"clang-analyzer-osx.SecKeychainAPI": true,
"clang-analyzer-osx.cocoa.AtSync": true,
"clang-analyzer-osx.cocoa.AutoreleaseWrite": true,
"clang-analyzer-osx.cocoa.ClassRelease": true,
"clang-analyzer-osx.cocoa.Dealloc": true,
"clang-analyzer-osx.cocoa.IncompatibleMethodTypes": true,
"clang-analyzer-osx.cocoa.Loops": true,
"clang-analyzer-osx.cocoa.MissingSuperCall": true,
"clang-analyzer-osx.cocoa.NSAutoreleasePool": true,
"clang-analyzer-osx.cocoa.NSError": true,
"clang-analyzer-osx.cocoa.NilArg": true,
"clang-analyzer-osx.cocoa.NonNilReturnValue": true,
"clang-analyzer-osx.cocoa.ObjCGenerics": true,
"clang-analyzer-osx.cocoa.RetainCount": true,
"clang-analyzer-osx.cocoa.RetainCountBase": true,
"clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak": true,
"clang-analyzer-osx.cocoa.SelfInit": true,
"clang-analyzer-osx.cocoa.SuperDealloc": true,
"clang-analyzer-osx.cocoa.UnusedIvars": true,
"clang-analyzer-osx.cocoa.VariadicMethodTypes": true,
"clang-analyzer-osx.coreFoundation.CFError": true,
"clang-analyzer-osx.coreFoundation.CFNumber": true,
"clang-analyzer-osx.coreFoundation.CFRetainRelease": true,
"clang-analyzer-osx.coreFoundation.containers.OutOfBounds": true,
"clang-analyzer-osx.coreFoundation.containers.PointerSizedValues": true,
"clang-analyzer-security.FloatLoopCounter": true,
"clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling": true,
"clang-analyzer-security.insecureAPI.SecuritySyntaxChecker": true,
"clang-analyzer-security.insecureAPI.UncheckedReturn": true,
"clang-analyzer-security.insecureAPI.bcmp": true,
"clang-analyzer-security.insecureAPI.bcopy": true,
"clang-analyzer-security.insecureAPI.bzero": true,
"clang-analyzer-security.insecureAPI.decodeValueOfObjCType": true,
"clang-analyzer-security.insecureAPI.getpw": true,
"clang-analyzer-security.insecureAPI.gets": true,
"clang-analyzer-security.insecureAPI.mkstemp": true,
"clang-analyzer-security.insecureAPI.mktemp": true,
"clang-analyzer-security.insecureAPI.rand": true,
"clang-analyzer-security.insecureAPI.strcpy": true,
"clang-analyzer-security.insecureAPI.vfork": true,
"clang-analyzer-unix.API": true,
"clang-analyzer-unix.DynamicMemoryModeling": true,
"clang-analyzer-unix.Malloc": true,
"clang-analyzer-unix.MallocSizeof": true,
"clang-analyzer-unix.MismatchedDeallocator": true,
"clang-analyzer-unix.Vfork": true,
"clang-analyzer-unix.cstring.BadSizeArg": true,
"clang-analyzer-unix.cstring.CStringModeling": true,
"clang-analyzer-unix.cstring.NullArg": true,
"clang-analyzer-valist.CopyToSelf": true,
"clang-analyzer-valist.Uninitialized": true,
"clang-analyzer-valist.Unterminated": true,
"clang-analyzer-valist.ValistBase": true,
"clang-analyzer-webkit.NoUncountedMemberChecker": true,
"clang-analyzer-webkit.RefCntblBaseVirtualDtor": true,
"clang-analyzer-webkit.UncountedLambdaCapturesChecker": true
}
},
"clion": {
"enabled": true,
"issues": {
"clion-argument-selection-defects": true,
"clion-empty-decl-or-stmt": true,
"clion-misra-c2012-10-1": true,
"clion-misra-c2012-10-2": true,
"clion-misra-c2012-10-5": true,
"clion-misra-c2012-11-1": true,
"clion-misra-c2012-11-2": true,
"clion-misra-c2012-11-3": true,
"clion-misra-c2012-11-4": true,
"clion-misra-c2012-11-5": true,
"clion-misra-c2012-11-6": true,
"clion-misra-c2012-11-7": true,
"clion-misra-c2012-11-8": true,
"clion-misra-c2012-11-9": true,
"clion-misra-c2012-12-2": true,
"clion-misra-c2012-12-3": true,
"clion-misra-c2012-12-5": true,
"clion-misra-c2012-13-1": true,
"clion-misra-c2012-13-3": true,
"clion-misra-c2012-13-4": true,
"clion-misra-c2012-13-5": true,
"clion-misra-c2012-13-6": true,
"clion-misra-c2012-14-4": true,
"clion-misra-c2012-15-1": true,
"clion-misra-c2012-15-2": true,
"clion-misra-c2012-15-6": true,
"clion-misra-c2012-15-7": true,
"clion-misra-c2012-16-3": true,
"clion-misra-c2012-16-4": true,
"clion-misra-c2012-16-5": true,
"clion-misra-c2012-16-6": true,
"clion-misra-c2012-16-7": true,
"clion-misra-c2012-17-3": true,
"clion-misra-c2012-17-5": true,
"clion-misra-c2012-17-6": true,
"clion-misra-c2012-17-7": true,
"clion-misra-c2012-17-8": true,
"clion-misra-c2012-18-4": true,
"clion-misra-c2012-18-5": true,
"clion-misra-c2012-18-7": true,
"clion-misra-c2012-18-8": true,
"clion-misra-c2012-19-2": true,
"clion-misra-c2012-21-10": true,
"clion-misra-c2012-21-3": true,
"clion-misra-c2012-21-7": true,
"clion-misra-c2012-21-8": true,
"clion-misra-c2012-21-9": true,
"clion-misra-c2012-22-5": true,
"clion-misra-c2012-4-12": true,
"clion-misra-c2012-4-3": true,
"clion-misra-c2012-6-1": true,
"clion-misra-c2012-6-2": true,
"clion-misra-c2012-7-1": true,
"clion-misra-c2012-7-2": true,
"clion-misra-c2012-7-3": true,
"clion-misra-c2012-7-4": true,
"clion-misra-c2012-8-1": true,
"clion-misra-c2012-8-10": true,
"clion-misra-c2012-8-11": true,
"clion-misra-c2012-8-12": true,
"clion-misra-c2012-8-14": true,
"clion-misra-c2012-8-2": true,
"clion-misra-c2012-8-8": true,
"clion-misra-c2012-9-3": true,
"clion-misra-c2012-9-5": true,
"clion-misra-cpp2008-0-1-7": true,
"clion-misra-cpp2008-10-1-1": true,
"clion-misra-cpp2008-10-3-2": true,
"clion-misra-cpp2008-11-0-1": true,
"clion-misra-cpp2008-12-1-3": true,
"clion-misra-cpp2008-14-5-2": true,
"clion-misra-cpp2008-15-0-2": true,
"clion-misra-cpp2008-15-1-2": true,
"clion-misra-cpp2008-15-1-3": true,
"clion-misra-cpp2008-15-3-5": true,
"clion-misra-cpp2008-15-5-1": true,
"clion-misra-cpp2008-18-0-2": true,
"clion-misra-cpp2008-18-0-3": true,
"clion-misra-cpp2008-18-0-4": true,
"clion-misra-cpp2008-18-2-1": true,
"clion-misra-cpp2008-18-4-1": true,
"clion-misra-cpp2008-2-13-1": true,
"clion-misra-cpp2008-2-13-2": true,
"clion-misra-cpp2008-2-13-3": true,
"clion-misra-cpp2008-2-13-4": true,
"clion-misra-cpp2008-3-1-2": true,
"clion-misra-cpp2008-3-1-3": true,
"clion-misra-cpp2008-4-10-2": true,
"clion-misra-cpp2008-4-5-1": true,
"clion-misra-cpp2008-4-5-2": true,
"clion-misra-cpp2008-5-0-11": true,
"clion-misra-cpp2008-5-0-12": true,
"clion-misra-cpp2008-5-0-13": true,
"clion-misra-cpp2008-5-0-14": true,
"clion-misra-cpp2008-5-0-19": true,
"clion-misra-cpp2008-5-0-4": true,
"clion-misra-cpp2008-5-0-5": true,
"clion-misra-cpp2008-5-0-6": true,
"clion-misra-cpp2008-5-14-1": true,
"clion-misra-cpp2008-5-18-1": true,
"clion-misra-cpp2008-5-2-10": true,
"clion-misra-cpp2008-5-2-11": true,
"clion-misra-cpp2008-5-2-12": true,
"clion-misra-cpp2008-5-2-2": true,
"clion-misra-cpp2008-5-2-4": true,
"clion-misra-cpp2008-5-2-5": true,
"clion-misra-cpp2008-5-3-1": true,
"clion-misra-cpp2008-5-3-2": true,
"clion-misra-cpp2008-5-3-3": true,
"clion-misra-cpp2008-5-3-4": true,
"clion-misra-cpp2008-5-8-1": true,
"clion-misra-cpp2008-6-2-1": true,
"clion-misra-cpp2008-6-3-1": true,
"clion-misra-cpp2008-6-4-1": true,
"clion-misra-cpp2008-6-4-2": true,
"clion-misra-cpp2008-6-4-5": true,
"clion-misra-cpp2008-6-4-6": true,
"clion-misra-cpp2008-6-4-7": true,
"clion-misra-cpp2008-6-4-8": true,
"clion-misra-cpp2008-6-5-1": true,
"clion-misra-cpp2008-6-5-2": true,
"clion-misra-cpp2008-6-5-3": true,
"clion-misra-cpp2008-6-5-4": true,
"clion-misra-cpp2008-6-6-2": true,
"clion-misra-cpp2008-7-3-4": true,
"clion-misra-cpp2008-7-4-3": true,
"clion-misra-cpp2008-8-0-1": true,
"clion-misra-cpp2008-8-4-1": true,
"clion-misra-cpp2008-8-4-4": true,
"clion-misra-cpp2008-8-5-3": true,
"clion-misra-cpp2008-9-5-1": true,
"clion-misra-cpp2008-9-6-2": true,
"clion-misra-cpp2008-9-6-4": true,
"clion-preprocessor-comment-check": true,
"clion-replace-enable-if": true,
"clion-simplify": true,
"clion-unconstrained-variable-type": true,
"clion-virtual-call-in-ctor-or-dtor": true
}
},
"concurrency": {
"enabled": true,
"issues": {
"concurrency-mt-unsafe": true,
"concurrency-thread-canceltype-asynchronous": true
}
},
"cppcoreguidelines": {
"enabled": true,
"issues": {
"cppcoreguidelines-avoid-c-arrays": true,
"cppcoreguidelines-avoid-goto": true,
"cppcoreguidelines-avoid-magic-numbers": true,
"cppcoreguidelines-avoid-non-const-global-variables": true,
"cppcoreguidelines-c-copy-assignment-signature": true,
"cppcoreguidelines-explicit-virtual-functions": true,
"cppcoreguidelines-init-variables": true,
"cppcoreguidelines-interfaces-global-init": true,
"cppcoreguidelines-macro-usage": true,
"cppcoreguidelines-narrowing-conversions": true,
"cppcoreguidelines-no-malloc": true,
"cppcoreguidelines-non-private-member-variables-in-classes": true,
"cppcoreguidelines-owning-memory": true,
"cppcoreguidelines-prefer-member-initializer": true,
"cppcoreguidelines-pro-bounds-array-to-pointer-decay": true,
"cppcoreguidelines-pro-bounds-constant-array-index": true,
"cppcoreguidelines-pro-bounds-pointer-arithmetic": true,
"cppcoreguidelines-pro-type-const-cast": true,
"cppcoreguidelines-pro-type-cstyle-cast": true,
"cppcoreguidelines-pro-type-member-init": true,
"cppcoreguidelines-pro-type-reinterpret-cast": true,
"cppcoreguidelines-pro-type-static-cast-downcast": true,
"cppcoreguidelines-pro-type-union-access": true,
"cppcoreguidelines-pro-type-vararg": true,
"cppcoreguidelines-slicing": true,
"cppcoreguidelines-special-member-functions": true,
"cppcoreguidelines-virtual-class-destructor": true
}
},
"darwin": {
"enabled": true,
"issues": {
"darwin-avoid-spinlock": true,
"darwin-dispatch-once-nonstatic": true
}
},
"fuchsia": {
"enabled": true,
"issues": {
"fuchsia-default-arguments-calls": true,
"fuchsia-default-arguments-declarations": true,
"fuchsia-header-anon-namespaces": true,
"fuchsia-multiple-inheritance": true,
"fuchsia-overloaded-operator": true,
"fuchsia-statically-constructed-objects": true,
"fuchsia-trailing-return": true,
"fuchsia-virtual-inheritance": true
}
},
"google": {
"enabled": true,
"issues": {
"google-build-explicit-make-pair": true,
"google-build-namespaces": true,
"google-build-using-namespace": true,
"google-default-arguments": true,
"google-explicit-constructor": true,
"google-global-names-in-headers": true,
"google-objc-avoid-nsobject-new": true,
"google-objc-avoid-throwing-exception": true,
"google-objc-function-naming": true,
"google-objc-global-variable-declaration": true,
"google-readability-avoid-underscore-in-googletest-name": true,
"google-readability-braces-around-statements": true,
"google-readability-casting": true,
"google-readability-function-size": true,
"google-readability-namespace-comments": true,
"google-readability-todo": true,
"google-runtime-int": true,
"google-runtime-operator": true,
"google-upgrade-googletest-case": true
}
},
"hicpp": {
"enabled": true,
"issues": {
"hicpp-avoid-c-arrays": true,
"hicpp-avoid-goto": true,
"hicpp-braces-around-statements": true,
"hicpp-deprecated-headers": true,
"hicpp-exception-baseclass": true,
"hicpp-explicit-conversions": true,
"hicpp-function-size": true,
"hicpp-invalid-access-moved": true,
"hicpp-member-init": true,
"hicpp-move-const-arg": true,
"hicpp-multiway-paths-covered": true,
"hicpp-named-parameter": true,
"hicpp-new-delete-operators": true,
"hicpp-no-array-decay": true,
"hicpp-no-assembler": true,
"hicpp-no-malloc": true,
"hicpp-noexcept-move": true,
"hicpp-signed-bitwise": true,
"hicpp-special-member-functions": true,
"hicpp-static-assert": true,
"hicpp-undelegated-constructor": true,
"hicpp-uppercase-literal-suffix": true,
"hicpp-use-auto": true,
"hicpp-use-emplace": true,
"hicpp-use-equals-default": true,
"hicpp-use-equals-delete": true,
"hicpp-use-noexcept": true,
"hicpp-use-nullptr": true,
"hicpp-use-override": true,
"hicpp-vararg": true
}
},
"linuxkernel": {
"enabled": true,
"issues": { "linuxkernel-must-check-errs": true }
},
"llvm": {
"enabled": true,
"issues": {
"llvm-else-after-return": true,
"llvm-header-guard": true,
"llvm-include-order": true,
"llvm-namespace-comment": true,
"llvm-prefer-isa-or-dyn-cast-in-conditionals": true,
"llvm-prefer-register-over-unsigned": true,
"llvm-qualified-auto": true,
"llvm-twine-local": true
}
},
"llvmlibc": {
"enabled": true,
"issues": {
"llvmlibc-callee-namespace": true,
"llvmlibc-implementation-in-namespace": true,
"llvmlibc-restrict-system-libc-headers": true
}
},
"misc": {
"enabled": true,
"issues": {
"misc-definitions-in-headers": true,
"misc-misplaced-const": true,
"misc-new-delete-overloads": true,
"misc-no-recursion": true,
"misc-non-copyable-objects": true,
"misc-non-private-member-variables-in-classes": true,
"misc-redundant-expression": true,
"misc-static-assert": true,
"misc-throw-by-value-catch-by-reference": true,
"misc-unconventional-assign-operator": true,
"misc-uniqueptr-reset-release": true,
"misc-unused-alias-decls": true,
"misc-unused-parameters": true,
"misc-unused-using-decls": true
}
},
"modernize": {
"enabled": true,
"issues": {
"modernize-avoid-bind": true,
"modernize-avoid-c-arrays": true,
"modernize-concat-nested-namespaces": true,
"modernize-deprecated-headers": true,
"modernize-deprecated-ios-base-aliases": true,
"modernize-loop-convert": true,
"modernize-make-shared": true,
"modernize-make-unique": true,
"modernize-pass-by-value": true,
"modernize-raw-string-literal": true,
"modernize-redundant-void-arg": true,
"modernize-replace-auto-ptr": true,
"modernize-replace-disallow-copy-and-assign-macro": true,
"modernize-replace-random-shuffle": true,
"modernize-return-braced-init-list": true,
"modernize-shrink-to-fit": true,
"modernize-unary-static-assert": true,
"modernize-use-auto": true,
"modernize-use-bool-literals": true,
"modernize-use-default-member-init": true,
"modernize-use-emplace": true,
"modernize-use-equals-default": true,
"modernize-use-equals-delete": true,
"modernize-use-nodiscard": true,
"modernize-use-noexcept": true,
"modernize-use-nullptr": true,
"modernize-use-override": true,
"modernize-use-trailing-return-type": true,
"modernize-use-transparent-functors": true,
"modernize-use-uncaught-exceptions": true,
"modernize-use-using": true
}
},
"mpi": {
"enabled": true,
"issues": { "mpi-buffer-deref": true, "mpi-type-mismatch": true }
},
"objc": {
"enabled": true,
"issues": {
"objc-avoid-nserror-init": true,
"objc-dealloc-in-category": true,
"objc-forbidden-subclassing": true,
"objc-missing-hash": true,
"objc-nsinvocation-argument-lifetime": true,
"objc-property-declaration": true,
"objc-super-self": true
}
},
"openmp": {
"enabled": true,
"issues": {
"openmp-exception-escape": true,
"openmp-use-default-none": true
}
},
"performance": {
"enabled": true,
"issues": {
"performance-faster-string-find": true,
"performance-for-range-copy": true,
"performance-implicit-conversion-in-loop": true,
"performance-inefficient-algorithm": true,
"performance-inefficient-string-concatenation": true,
"performance-inefficient-vector-operation": true,
"performance-move-const-arg": true,
"performance-move-constructor-init": true,
"performance-no-automatic-move": true,
"performance-no-int-to-ptr": true,
"performance-noexcept-move-constructor": true,
"performance-trivially-destructible": true,
"performance-type-promotion-in-math-fn": true,
"performance-unnecessary-copy-initialization": true,
"performance-unnecessary-value-param": true
}
},
"portability": {
"enabled": true,
"issues": {
"portability-restrict-system-includes": true,
"portability-simd-intrinsics": true
}
},
"readability": {
"enabled": true,
"issues": {
"readability-avoid-const-params-in-decls": true,
"readability-braces-around-statements": true,
"readability-const-return-type": true,
"readability-container-data-pointer": true,
"readability-container-size-empty": true,
"readability-convert-member-functions-to-static": true,
"readability-delete-null-pointer": true,
"readability-else-after-return": true,
"readability-function-cognitive-complexity": true,
"readability-function-size": true,
"readability-identifier-length": true,
"readability-identifier-naming": true,
"readability-implicit-bool-conversion": true,
"readability-inconsistent-declaration-parameter-name": true,
"readability-isolate-declaration": true,
"readability-magic-numbers": true,
"readability-make-member-function-const": true,
"readability-misleading-indentation": true,
"readability-misplaced-array-index": true,
"readability-named-parameter": true,
"readability-non-const-parameter": true,
"readability-qualified-auto": true,
"readability-redundant-access-specifiers": true,
"readability-redundant-control-flow": true,
"readability-redundant-declaration": true,
"readability-redundant-function-ptr-dereference": true,
"readability-redundant-member-init": true,
"readability-redundant-preprocessor": true,
"readability-redundant-smartptr-get": true,
"readability-redundant-string-cstr": true,
"readability-redundant-string-init": true,
"readability-simplify-boolean-expr": true,
"readability-simplify-subscript-expr": true,
"readability-static-accessed-through-instance": true,
"readability-static-definition-in-anonymous-namespace": true,
"readability-string-compare": true,
"readability-suspicious-call-argument": true,
"readability-uniqueptr-delete-release": true,
"readability-uppercase-literal-suffix": true,
"readability-use-anyofallof": true
}
},
"zircon": {
"enabled": true,
"issues": { "zircon-temporary-objects": true }
}
}
}