-
Notifications
You must be signed in to change notification settings - Fork 1
/
EmbarcaderoClang.py
1022 lines (1002 loc) · 85.4 KB
/
EmbarcaderoClang.py
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
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
from re import A
import pyparsing as pp
from pathlib import Path
from Warning import Warning, OfficialWarningDesc, Severity
from LineParser import LineParser
from pp_defs import *
from linecache import getline
from util import getpathfrom
#warning, description, and severity (using gitlab severity levels: info, minor, major, critical, blocker)
#TODO: warnings are defined here for clang 5.0: https://releases.llvm.org/5.0.0/tools/clang/docs/DiagnosticsReference.html
#TODO: warnings are defined here for clang (latest): https://clang.llvm.org/docs/DiagnosticsReference.html
all_warnings = {
"#pragma-messages":OfficialWarningDesc("#pragma-messages","",Severity.minor),
"#warnings":OfficialWarningDesc("#warnings","",Severity.minor),
"CFString-literal":OfficialWarningDesc("CFString-literal","",Severity.minor),
"CL4":OfficialWarningDesc("CL4","",Severity.minor),
"IndependentClass-attribute":OfficialWarningDesc("IndependentClass-attribute","",Severity.minor),
"NSObject-attribute":OfficialWarningDesc("NSObject-attribute","",Severity.minor),
"abi":OfficialWarningDesc("abi","",Severity.minor),
"absolute-value":OfficialWarningDesc("absolute-value","",Severity.minor),
"abstract-final-class":OfficialWarningDesc("abstract-final-class","",Severity.minor),
"abstract-vbase-init":OfficialWarningDesc("abstract-vbase-init","",Severity.minor),
"address":OfficialWarningDesc("address","",Severity.minor),
"address-of-packed-member":OfficialWarningDesc("address-of-packed-member","",Severity.minor),
"address-of-temporary":OfficialWarningDesc("address-of-temporary","",Severity.minor),
"aggregate-return":OfficialWarningDesc("aggregate-return","",Severity.minor),
"aix-compat":OfficialWarningDesc("aix-compat","",Severity.minor),
"align-mismatch":OfficialWarningDesc("align-mismatch","",Severity.minor),
"all":OfficialWarningDesc("all","",Severity.minor),
"alloca":OfficialWarningDesc("alloca","",Severity.minor),
"alloca-with-align-alignof":OfficialWarningDesc("alloca-with-align-alignof","",Severity.minor),
"always-inline-coroutine":OfficialWarningDesc("always-inline-coroutine","",Severity.minor),
"ambiguous-delete":OfficialWarningDesc("ambiguous-delete","",Severity.minor),
"ambiguous-ellipsis":OfficialWarningDesc("ambiguous-ellipsis","",Severity.minor),
"ambiguous-macro":OfficialWarningDesc("ambiguous-macro","",Severity.minor),
"ambiguous-member-template":OfficialWarningDesc("ambiguous-member-template","",Severity.minor),
"ambiguous-reversed-operator":OfficialWarningDesc("ambiguous-reversed-operator","",Severity.minor),
"analyzer-incompatible-plugin":OfficialWarningDesc("analyzer-incompatible-plugin","",Severity.minor),
"anon-enum-enum-conversion":OfficialWarningDesc("anon-enum-enum-conversion","",Severity.minor),
"anonymous-pack-parens":OfficialWarningDesc("anonymous-pack-parens","",Severity.minor),
"arc":OfficialWarningDesc("arc","",Severity.minor),
"arc-bridge-casts-disallowed-in-nonarc":OfficialWarningDesc("arc-bridge-casts-disallowed-in-nonarc","",Severity.minor),
"arc-maybe-repeated-use-of-weak":OfficialWarningDesc("arc-maybe-repeated-use-of-weak","",Severity.minor),
"arc-non-pod-memaccess":OfficialWarningDesc("arc-non-pod-memaccess","",Severity.minor),
"arc-performSelector-leaks":OfficialWarningDesc("arc-performSelector-leaks","",Severity.minor),
"arc-repeated-use-of-weak":OfficialWarningDesc("arc-repeated-use-of-weak","",Severity.minor),
"arc-retain-cycles":OfficialWarningDesc("arc-retain-cycles","",Severity.minor),
"arc-unsafe-retained-assign":OfficialWarningDesc("arc-unsafe-retained-assign","",Severity.minor),
"argument-outside-range":OfficialWarningDesc("argument-outside-range","",Severity.minor),
"argument-undefined-behaviour":OfficialWarningDesc("argument-undefined-behaviour","",Severity.minor),
"array-bounds":OfficialWarningDesc("array-bounds","",Severity.major),
"array-bounds-pointer-arithmetic":OfficialWarningDesc("array-bounds-pointer-arithmetic","",Severity.major),
"array-parameter":OfficialWarningDesc("array-parameter","",Severity.minor),
"asm":OfficialWarningDesc("asm","",Severity.minor),
"asm-operand-widths":OfficialWarningDesc("asm-operand-widths","",Severity.minor),
"assign-enum":OfficialWarningDesc("assign-enum","",Severity.minor),
"assume":OfficialWarningDesc("assume","",Severity.minor),
"at-protocol":OfficialWarningDesc("at-protocol","",Severity.minor),
"atimport-in-framework-header":OfficialWarningDesc("atimport-in-framework-header","",Severity.minor),
"atomic-access":OfficialWarningDesc("atomic-access","",Severity.minor),
"atomic-alignment":OfficialWarningDesc("atomic-alignment","",Severity.minor),
"atomic-implicit-seq-cst":OfficialWarningDesc("atomic-implicit-seq-cst","",Severity.minor),
"atomic-memory-ordering":OfficialWarningDesc("atomic-memory-ordering","",Severity.minor),
"atomic-properties":OfficialWarningDesc("atomic-properties","",Severity.minor),
"atomic-property-with-user-defined-accessor":OfficialWarningDesc("atomic-property-with-user-defined-accessor","",Severity.minor),
"attribute-packed-for-bitfield":OfficialWarningDesc("attribute-packed-for-bitfield","",Severity.minor),
"attribute-warning":OfficialWarningDesc("attribute-warning","",Severity.minor),
"attributes":OfficialWarningDesc("attributes","",Severity.minor),
"auto-disable-vptr-sanitizer":OfficialWarningDesc("auto-disable-vptr-sanitizer","",Severity.minor),
"auto-import":OfficialWarningDesc("auto-import","",Severity.minor),
"auto-storage-class":OfficialWarningDesc("auto-storage-class","",Severity.minor),
"auto-var-id":OfficialWarningDesc("auto-var-id","",Severity.minor),
"availability":OfficialWarningDesc("availability","",Severity.minor),
"avr-rtlib-linking-quirks":OfficialWarningDesc("avr-rtlib-linking-quirks","",Severity.minor),
"backend-plugin":OfficialWarningDesc("backend-plugin","",Severity.minor),
"backslash-newline-escape":OfficialWarningDesc("backslash-newline-escape","",Severity.minor),
"bad-function-cast":OfficialWarningDesc("bad-function-cast","",Severity.minor),
"binary-literal":OfficialWarningDesc("binary-literal","",Severity.minor),
"bind-to-temporary-copy":OfficialWarningDesc("bind-to-temporary-copy","",Severity.minor),
"binding-in-condition":OfficialWarningDesc("binding-in-condition","",Severity.minor),
"bit-int-extension":OfficialWarningDesc("bit-int-extension","",Severity.minor),
"bitfield-constant-conversion":OfficialWarningDesc("bitfield-constant-conversion","",Severity.minor),
"bitfield-enum-conversion":OfficialWarningDesc("bitfield-enum-conversion","",Severity.minor),
"bitfield-width":OfficialWarningDesc("bitfield-width","",Severity.minor),
"bitwise-conditional-parentheses":OfficialWarningDesc("bitwise-conditional-parentheses","",Severity.minor),
"bitwise-instead-of-logical":OfficialWarningDesc("bitwise-instead-of-logical","",Severity.minor),
"bitwise-op-parentheses":OfficialWarningDesc("bitwise-op-parentheses","",Severity.minor),
"block-capture-autoreleasing":OfficialWarningDesc("block-capture-autoreleasing","",Severity.minor),
"bool-conversion":OfficialWarningDesc("bool-conversion","",Severity.minor),
"bool-conversions":OfficialWarningDesc("bool-conversions","",Severity.minor),
"bool-operation":OfficialWarningDesc("bool-operation","",Severity.minor),
"braced-scalar-init":OfficialWarningDesc("braced-scalar-init","",Severity.minor),
"branch-protection":OfficialWarningDesc("branch-protection","",Severity.minor),
"bridge-cast":OfficialWarningDesc("bridge-cast","",Severity.minor),
"builtin-assume-aligned-alignment":OfficialWarningDesc("builtin-assume-aligned-alignment","",Severity.minor),
"builtin-macro-redefined":OfficialWarningDesc("builtin-macro-redefined","",Severity.minor),
"builtin-memcpy-chk-size":OfficialWarningDesc("builtin-memcpy-chk-size","",Severity.minor),
"builtin-requires-header":OfficialWarningDesc("builtin-requires-header","",Severity.minor),
"c++-compat":OfficialWarningDesc("c++-compat","",Severity.minor),
"c++0x-compat":OfficialWarningDesc("c++0x-compat","",Severity.minor),
"c++0x-extensions":OfficialWarningDesc("c++0x-extensions","",Severity.minor),
"c++0x-narrowing":OfficialWarningDesc("c++0x-narrowing","",Severity.minor),
"c++11-compat":OfficialWarningDesc("c++11-compat","",Severity.minor),
"c++11-compat-deprecated-writable-strings":OfficialWarningDesc("c++11-compat-deprecated-writable-strings","",Severity.minor),
"c++11-compat-pedantic":OfficialWarningDesc("c++11-compat-pedantic","",Severity.minor),
"c++11-compat-reserved-user-defined-literal":OfficialWarningDesc("c++11-compat-reserved-user-defined-literal","",Severity.minor),
"c++11-extensions":OfficialWarningDesc("c++11-extensions","",Severity.minor),
"c++11-extra-semi":OfficialWarningDesc("c++11-extra-semi","",Severity.minor),
"c++11-inline-namespace":OfficialWarningDesc("c++11-inline-namespace","",Severity.minor),
"c++11-long-long":OfficialWarningDesc("c++11-long-long","",Severity.minor),
"c++11-narrowing":OfficialWarningDesc("c++11-narrowing","",Severity.minor),
"c++14-attribute-extensions":OfficialWarningDesc("c++14-attribute-extensions","",Severity.minor),
"c++14-binary-literal":OfficialWarningDesc("c++14-binary-literal","",Severity.minor),
"c++14-compat":OfficialWarningDesc("c++14-compat","",Severity.minor),
"c++14-compat-pedantic":OfficialWarningDesc("c++14-compat-pedantic","",Severity.minor),
"c++14-extensions":OfficialWarningDesc("c++14-extensions","",Severity.minor),
"c++17-attribute-extensions":OfficialWarningDesc("c++17-attribute-extensions","",Severity.minor),
"c++17-compat":OfficialWarningDesc("c++17-compat","",Severity.minor),
"c++17-compat-mangling":OfficialWarningDesc("c++17-compat-mangling","",Severity.minor),
"c++17-compat-pedantic":OfficialWarningDesc("c++17-compat-pedantic","",Severity.minor),
"c++17-extensions":OfficialWarningDesc("c++17-extensions","",Severity.minor),
"c++1y-extensions":OfficialWarningDesc("c++1y-extensions","",Severity.minor),
"c++1z-compat":OfficialWarningDesc("c++1z-compat","",Severity.minor),
"c++1z-compat-mangling":OfficialWarningDesc("c++1z-compat-mangling","",Severity.minor),
"c++1z-extensions":OfficialWarningDesc("c++1z-extensions","",Severity.minor),
"c++20-attribute-extensions":OfficialWarningDesc("c++20-attribute-extensions","",Severity.minor),
"c++20-compat":OfficialWarningDesc("c++20-compat","",Severity.minor),
"c++20-compat-pedantic":OfficialWarningDesc("c++20-compat-pedantic","",Severity.minor),
"c++20-designator":OfficialWarningDesc("c++20-designator","",Severity.minor),
"c++20-extensions":OfficialWarningDesc("c++20-extensions","",Severity.minor),
"c++2a-compat":OfficialWarningDesc("c++2a-compat","",Severity.minor),
"c++2a-compat-pedantic":OfficialWarningDesc("c++2a-compat-pedantic","",Severity.minor),
"c++2a-extensions":OfficialWarningDesc("c++2a-extensions","",Severity.minor),
"c++2b-extensions":OfficialWarningDesc("c++2b-extensions","",Severity.minor),
"c++98-c++11-c++14-c++17-compat":OfficialWarningDesc("c++98-c++11-c++14-c++17-compat","",Severity.minor),
"c++98-c++11-c++14-c++17-compat-pedantic":OfficialWarningDesc("c++98-c++11-c++14-c++17-compat-pedantic","",Severity.minor),
"c++98-c++11-c++14-compat":OfficialWarningDesc("c++98-c++11-c++14-compat","",Severity.minor),
"c++98-c++11-c++14-compat-pedantic":OfficialWarningDesc("c++98-c++11-c++14-compat-pedantic","",Severity.minor),
"c++98-c++11-compat":OfficialWarningDesc("c++98-c++11-compat","",Severity.minor),
"c++98-c++11-compat-binary-literal":OfficialWarningDesc("c++98-c++11-compat-binary-literal","",Severity.minor),
"c++98-c++11-compat-pedantic":OfficialWarningDesc("c++98-c++11-compat-pedantic","",Severity.minor),
"c++98-compat":OfficialWarningDesc("c++98-compat","",Severity.minor),
"c++98-compat-bind-to-temporary-copy":OfficialWarningDesc("c++98-compat-bind-to-temporary-copy","",Severity.minor),
"c++98-compat-extra-semi":OfficialWarningDesc("c++98-compat-extra-semi","",Severity.minor),
"c++98-compat-local-type-template-args":OfficialWarningDesc("c++98-compat-local-type-template-args","",Severity.minor),
"c++98-compat-pedantic":OfficialWarningDesc("c++98-compat-pedantic","",Severity.minor),
"c++98-compat-unnamed-type-template-args":OfficialWarningDesc("c++98-compat-unnamed-type-template-args","",Severity.minor),
"c11-extensions":OfficialWarningDesc("c11-extensions","",Severity.minor),
"c2x-compat":OfficialWarningDesc("c2x-compat","",Severity.minor),
"c2x-extensions":OfficialWarningDesc("c2x-extensions","",Severity.minor),
"c99-compat":OfficialWarningDesc("c99-compat","",Severity.minor),
"c99-designator":OfficialWarningDesc("c99-designator","",Severity.minor),
"c99-extensions":OfficialWarningDesc("c99-extensions","",Severity.minor),
"call-to-pure-virtual-from-ctor-dtor":OfficialWarningDesc("call-to-pure-virtual-from-ctor-dtor","",Severity.minor),
"called-once-parameter":OfficialWarningDesc("called-once-parameter","",Severity.minor),
"cast-align":OfficialWarningDesc("cast-align","",Severity.minor),
"cast-calling-convention":OfficialWarningDesc("cast-calling-convention","",Severity.minor),
"cast-function-type":OfficialWarningDesc("cast-function-type","",Severity.minor),
"cast-of-sel-type":OfficialWarningDesc("cast-of-sel-type","",Severity.minor),
"cast-qual":OfficialWarningDesc("cast-qual","",Severity.minor),
"cast-qual-unrelated":OfficialWarningDesc("cast-qual-unrelated","",Severity.minor),
"char-align":OfficialWarningDesc("char-align","",Severity.minor),
"char-subscripts":OfficialWarningDesc("char-subscripts","",Severity.minor),
"clang-cl-pch":OfficialWarningDesc("clang-cl-pch","",Severity.minor),
"class-conversion":OfficialWarningDesc("class-conversion","",Severity.minor),
"class-varargs":OfficialWarningDesc("class-varargs","",Severity.minor),
"cmse-union-leak":OfficialWarningDesc("cmse-union-leak","",Severity.minor),
"comma":OfficialWarningDesc("comma","",Severity.minor),
"comment":OfficialWarningDesc("comment","",Severity.minor),
"comments":OfficialWarningDesc("comments","",Severity.minor),
"compare-distinct-pointer-types":OfficialWarningDesc("compare-distinct-pointer-types","",Severity.minor),
"completion-handler":OfficialWarningDesc("completion-handler","",Severity.minor),
"complex-component-init":OfficialWarningDesc("complex-component-init","",Severity.minor),
"compound-token-split":OfficialWarningDesc("compound-token-split","",Severity.minor),
"compound-token-split-by-macro":OfficialWarningDesc("compound-token-split-by-macro","",Severity.minor),
"compound-token-split-by-space":OfficialWarningDesc("compound-token-split-by-space","",Severity.minor),
"concepts-ts-compat":OfficialWarningDesc("concepts-ts-compat","",Severity.minor),
"conditional-type-mismatch":OfficialWarningDesc("conditional-type-mismatch","",Severity.minor),
"conditional-uninitialized":OfficialWarningDesc("conditional-uninitialized","",Severity.minor),
"config-macros":OfficialWarningDesc("config-macros","",Severity.minor),
"constant-conversion":OfficialWarningDesc("constant-conversion","",Severity.major),
"constant-evaluated":OfficialWarningDesc("constant-evaluated","",Severity.minor),
"constant-logical-operand":OfficialWarningDesc("constant-logical-operand","",Severity.major),
"constexpr-not-const":OfficialWarningDesc("constexpr-not-const","",Severity.minor),
"consumed":OfficialWarningDesc("consumed","",Severity.minor),
"conversion":OfficialWarningDesc("conversion","",Severity.minor),
"conversion-null":OfficialWarningDesc("conversion-null","",Severity.minor),
"coro-non-aligned-allocation-funciton":OfficialWarningDesc("coro-non-aligned-allocation-funciton","",Severity.minor),
"coroutine":OfficialWarningDesc("coroutine","",Severity.minor),
"coroutine-missing-unhandled-exception":OfficialWarningDesc("coroutine-missing-unhandled-exception","",Severity.minor),
"covered-switch-default":OfficialWarningDesc("covered-switch-default","",Severity.minor),
"cpp":OfficialWarningDesc("cpp","",Severity.minor),
"cstring-format-directive":OfficialWarningDesc("cstring-format-directive","",Severity.minor),
"ctad-maybe-unsupported":OfficialWarningDesc("ctad-maybe-unsupported","",Severity.minor),
"ctor-dtor-privacy":OfficialWarningDesc("ctor-dtor-privacy","",Severity.minor),
"ctu":OfficialWarningDesc("ctu","",Severity.minor),
"cuda-compat":OfficialWarningDesc("cuda-compat","",Severity.minor),
"custom-atomic-properties":OfficialWarningDesc("custom-atomic-properties","",Severity.minor),
"cxx-attribute-extension":OfficialWarningDesc("cxx-attribute-extension","",Severity.minor),
"dangling":OfficialWarningDesc("dangling","",Severity.minor),
"dangling-else":OfficialWarningDesc("dangling-else","",Severity.minor),
"dangling-field":OfficialWarningDesc("dangling-field","",Severity.minor),
"dangling-gsl":OfficialWarningDesc("dangling-gsl","",Severity.minor),
"dangling-initializer-list":OfficialWarningDesc("dangling-initializer-list","",Severity.minor),
"darwin-sdk-settings":OfficialWarningDesc("darwin-sdk-settings","",Severity.minor),
"date-time":OfficialWarningDesc("date-time","",Severity.minor),
"dealloc-in-category":OfficialWarningDesc("dealloc-in-category","",Severity.minor),
"debug-compression-unavailable":OfficialWarningDesc("debug-compression-unavailable","",Severity.minor),
"declaration-after-statement":OfficialWarningDesc("declaration-after-statement","",Severity.minor),
"defaulted-function-deleted":OfficialWarningDesc("defaulted-function-deleted","",Severity.minor),
"delegating-ctor-cycles":OfficialWarningDesc("delegating-ctor-cycles","",Severity.minor),
"delete-abstract-non-virtual-dtor":OfficialWarningDesc("delete-abstract-non-virtual-dtor","",Severity.major),
"delete-incomplete":OfficialWarningDesc("delete-incomplete","",Severity.major),
"delete-non-abstract-non-virtual-dtor":OfficialWarningDesc("delete-non-abstract-non-virtual-dtor","",Severity.major),
"delete-non-virtual-dtor":OfficialWarningDesc("delete-non-virtual-dtor","",Severity.major),
"delimited-escape-sequence-extension":OfficialWarningDesc("delimited-escape-sequence-extension","",Severity.minor),
"deprecate-lax-vec-conv-all":OfficialWarningDesc("deprecate-lax-vec-conv-all","",Severity.minor),
"deprecated":OfficialWarningDesc("deprecated","",Severity.minor),
"deprecated-altivec-src-compat":OfficialWarningDesc("deprecated-altivec-src-compat","",Severity.minor),
"deprecated-anon-enum-enum-conversion":OfficialWarningDesc("deprecated-anon-enum-enum-conversion","",Severity.minor),
"deprecated-array-compare":OfficialWarningDesc("deprecated-array-compare","",Severity.minor),
"deprecated-attributes":OfficialWarningDesc("deprecated-attributes","",Severity.minor),
"deprecated-builtins":OfficialWarningDesc("deprecated-builtins","",Severity.minor),
"deprecated-comma-subscript":OfficialWarningDesc("deprecated-comma-subscript","",Severity.minor),
"deprecated-copy":OfficialWarningDesc("deprecated-copy","",Severity.minor),
"deprecated-copy-dtor":OfficialWarningDesc("deprecated-copy-dtor","",Severity.minor),
"deprecated-copy-with-dtor":OfficialWarningDesc("deprecated-copy-with-dtor","",Severity.minor),
"deprecated-copy-with-user-provided-copy":OfficialWarningDesc("deprecated-copy-with-user-provided-copy","",Severity.minor),
"deprecated-copy-with-user-provided-dtor":OfficialWarningDesc("deprecated-copy-with-user-provided-dtor","",Severity.minor),
"deprecated-coroutine":OfficialWarningDesc("deprecated-coroutine","",Severity.minor),
"deprecated-declarations":OfficialWarningDesc("deprecated-declarations","",Severity.minor),
"deprecated-dynamic-exception-spec":OfficialWarningDesc("deprecated-dynamic-exception-spec","",Severity.minor),
"deprecated-enum-compare":OfficialWarningDesc("deprecated-enum-compare","",Severity.minor),
"deprecated-enum-compare-conditional":OfficialWarningDesc("deprecated-enum-compare-conditional","",Severity.minor),
"deprecated-enum-enum-conversion":OfficialWarningDesc("deprecated-enum-enum-conversion","",Severity.minor),
"deprecated-enum-float-conversion":OfficialWarningDesc("deprecated-enum-float-conversion","",Severity.minor),
"deprecated-experimental-coroutine":OfficialWarningDesc("deprecated-experimental-coroutine","",Severity.minor),
"deprecated-implementations":OfficialWarningDesc("deprecated-implementations","",Severity.minor),
"deprecated-increment-bool":OfficialWarningDesc("deprecated-increment-bool","",Severity.minor),
"deprecated-non-prototype":OfficialWarningDesc("deprecated-non-prototype","",Severity.minor),
"deprecated-objc-isa-usage":OfficialWarningDesc("deprecated-objc-isa-usage","",Severity.minor),
"deprecated-objc-pointer-introspection":OfficialWarningDesc("deprecated-objc-pointer-introspection","",Severity.minor),
"deprecated-objc-pointer-introspection-performSelector":OfficialWarningDesc("deprecated-objc-pointer-introspection-performSelector","",Severity.minor),
"deprecated-pragma":OfficialWarningDesc("deprecated-pragma","",Severity.minor),
"deprecated-register":OfficialWarningDesc("deprecated-register","",Severity.minor),
"deprecated-static-analyzer-flag":OfficialWarningDesc("deprecated-static-analyzer-flag","",Severity.minor),
"deprecated-this-capture":OfficialWarningDesc("deprecated-this-capture","",Severity.minor),
"deprecated-type":OfficialWarningDesc("deprecated-type","",Severity.minor),
"deprecated-volatile":OfficialWarningDesc("deprecated-volatile","",Severity.minor),
"deprecated-writable-strings":OfficialWarningDesc("deprecated-writable-strings","",Severity.minor),
"direct-ivar-access":OfficialWarningDesc("direct-ivar-access","",Severity.minor),
"disabled-macro-expansion":OfficialWarningDesc("disabled-macro-expansion","",Severity.minor),
"disabled-optimization":OfficialWarningDesc("disabled-optimization","",Severity.minor),
"discard-qual":OfficialWarningDesc("discard-qual","",Severity.minor),
"distributed-object-modifiers":OfficialWarningDesc("distributed-object-modifiers","",Severity.minor),
"div-by-zero":OfficialWarningDesc("div-by-zero","",Severity.minor),
"division-by-zero":OfficialWarningDesc("division-by-zero","",Severity.minor),
"dll-attribute-on-redeclaration":OfficialWarningDesc("dll-attribute-on-redeclaration","",Severity.minor),
"dllexport-explicit-instantiation-decl":OfficialWarningDesc("dllexport-explicit-instantiation-decl","",Severity.minor),
"dllimport-static-field-def":OfficialWarningDesc("dllimport-static-field-def","",Severity.minor),
"documentation":OfficialWarningDesc("documentation","",Severity.minor),
"documentation-deprecated-sync":OfficialWarningDesc("documentation-deprecated-sync","",Severity.minor),
"documentation-html":OfficialWarningDesc("documentation-html","",Severity.minor),
"documentation-pedantic":OfficialWarningDesc("documentation-pedantic","",Severity.minor),
"documentation-unknown-command":OfficialWarningDesc("documentation-unknown-command","",Severity.minor),
"dollar-in-identifier-extension":OfficialWarningDesc("dollar-in-identifier-extension","",Severity.minor),
"double-promotion":OfficialWarningDesc("double-promotion","",Severity.minor),
"dtor-name":OfficialWarningDesc("dtor-name","",Severity.minor),
"dtor-typedef":OfficialWarningDesc("dtor-typedef","",Severity.minor),
"duplicate-decl-specifier":OfficialWarningDesc("duplicate-decl-specifier","",Severity.minor),
"duplicate-enum":OfficialWarningDesc("duplicate-enum","",Severity.minor),
"duplicate-method-arg":OfficialWarningDesc("duplicate-method-arg","",Severity.minor),
"duplicate-method-match":OfficialWarningDesc("duplicate-method-match","",Severity.minor),
"duplicate-protocol":OfficialWarningDesc("duplicate-protocol","",Severity.minor),
"dynamic-class-memaccess":OfficialWarningDesc("dynamic-class-memaccess","",Severity.minor),
"dynamic-exception-spec":OfficialWarningDesc("dynamic-exception-spec","",Severity.minor),
"effc++":OfficialWarningDesc("effc++","",Severity.minor),
"elaborated-enum-base":OfficialWarningDesc("elaborated-enum-base","",Severity.minor),
"elaborated-enum-class":OfficialWarningDesc("elaborated-enum-class","",Severity.minor),
"embedded-directive":OfficialWarningDesc("embedded-directive","",Severity.minor),
"empty-body":OfficialWarningDesc("empty-body","",Severity.minor),
"empty-decomposition":OfficialWarningDesc("empty-decomposition","",Severity.minor),
"empty-init-stmt":OfficialWarningDesc("empty-init-stmt","",Severity.minor),
"empty-translation-unit":OfficialWarningDesc("empty-translation-unit","",Severity.minor),
"encode-type":OfficialWarningDesc("encode-type","",Severity.minor),
"endif-labels":OfficialWarningDesc("endif-labels","",Severity.minor),
"enum-compare":OfficialWarningDesc("enum-compare","",Severity.minor),
"enum-compare-conditional":OfficialWarningDesc("enum-compare-conditional","",Severity.minor),
"enum-compare-switch":OfficialWarningDesc("enum-compare-switch","",Severity.minor),
"enum-constexpr-conversion":OfficialWarningDesc("enum-constexpr-conversion","",Severity.minor),
"enum-conversion":OfficialWarningDesc("enum-conversion","",Severity.minor),
"enum-enum-conversion":OfficialWarningDesc("enum-enum-conversion","",Severity.minor),
"enum-float-conversion":OfficialWarningDesc("enum-float-conversion","",Severity.minor),
"enum-too-large":OfficialWarningDesc("enum-too-large","",Severity.minor),
"exceptions":OfficialWarningDesc("exceptions","",Severity.minor),
"excess-initializers":OfficialWarningDesc("excess-initializers","",Severity.minor),
"exit-time-destructors":OfficialWarningDesc("exit-time-destructors","",Severity.minor),
"expansion-to-defined":OfficialWarningDesc("expansion-to-defined","",Severity.minor),
"explicit-initialize-call":OfficialWarningDesc("explicit-initialize-call","",Severity.minor),
"explicit-ownership-type":OfficialWarningDesc("explicit-ownership-type","",Severity.minor),
"export-unnamed":OfficialWarningDesc("export-unnamed","",Severity.minor),
"export-using-directive":OfficialWarningDesc("export-using-directive","",Severity.minor),
"extern-c-compat":OfficialWarningDesc("extern-c-compat","",Severity.minor),
"extern-initializer":OfficialWarningDesc("extern-initializer","",Severity.minor),
"extra":OfficialWarningDesc("extra","",Severity.minor),
"extra-qualification":OfficialWarningDesc("extra-qualification","",Severity.minor),
"extra-semi":OfficialWarningDesc("extra-semi","",Severity.minor),
"extra-semi-stmt":OfficialWarningDesc("extra-semi-stmt","",Severity.minor),
"extra-tokens":OfficialWarningDesc("extra-tokens","",Severity.minor),
"final-dtor-non-final-class":OfficialWarningDesc("final-dtor-non-final-class","",Severity.minor),
"final-macro":OfficialWarningDesc("final-macro","",Severity.minor),
"fixed-enum-extension":OfficialWarningDesc("fixed-enum-extension","",Severity.minor),
"fixed-point-overflow":OfficialWarningDesc("fixed-point-overflow","",Severity.major),
"flag-enum":OfficialWarningDesc("flag-enum","",Severity.minor),
"flexible-array-extensions":OfficialWarningDesc("flexible-array-extensions","",Severity.minor),
"float-conversion":OfficialWarningDesc("float-conversion","",Severity.minor),
"float-equal":OfficialWarningDesc("float-equal","",Severity.minor),
"float-overflow-conversion":OfficialWarningDesc("float-overflow-conversion","",Severity.major),
"float-zero-conversion":OfficialWarningDesc("float-zero-conversion","",Severity.minor),
"for-loop-analysis":OfficialWarningDesc("for-loop-analysis","",Severity.minor),
"format":OfficialWarningDesc("format","",Severity.minor),
"format-extra-args":OfficialWarningDesc("format-extra-args","",Severity.minor),
"format-insufficient-args":OfficialWarningDesc("format-insufficient-args","",Severity.minor),
"format-invalid-specifier":OfficialWarningDesc("format-invalid-specifier","",Severity.minor),
"format-non-iso":OfficialWarningDesc("format-non-iso","",Severity.minor),
"format-nonliteral":OfficialWarningDesc("format-nonliteral","",Severity.minor),
"format-pedantic":OfficialWarningDesc("format-pedantic","",Severity.minor),
"format-security":OfficialWarningDesc("format-security","",Severity.minor),
"format-type-confusion":OfficialWarningDesc("format-type-confusion","",Severity.major),
"format-y2k":OfficialWarningDesc("format-y2k","",Severity.minor),
"format-zero-length":OfficialWarningDesc("format-zero-length","",Severity.minor),
"format=2":OfficialWarningDesc("format=2","",Severity.minor),
"fortify-source":OfficialWarningDesc("fortify-source","",Severity.minor),
"four-char-constants":OfficialWarningDesc("four-char-constants","",Severity.minor),
"frame-address":OfficialWarningDesc("frame-address","",Severity.minor),
"frame-larger-than":OfficialWarningDesc("frame-larger-than","",Severity.minor),
"frame-larger-than=":OfficialWarningDesc("frame-larger-than=","",Severity.minor),
"framework-include-private-from-public":OfficialWarningDesc("framework-include-private-from-public","",Severity.minor),
"free-nonheap-object":OfficialWarningDesc("free-nonheap-object","",Severity.major),
"function-def-in-objc-container":OfficialWarningDesc("function-def-in-objc-container","",Severity.minor),
"function-multiversion":OfficialWarningDesc("function-multiversion","",Severity.minor),
"fuse-ld-path":OfficialWarningDesc("fuse-ld-path","",Severity.minor),
"future-attribute-extensions":OfficialWarningDesc("future-attribute-extensions","",Severity.minor),
"future-compat":OfficialWarningDesc("future-compat","",Severity.minor),
"gcc-compat":OfficialWarningDesc("gcc-compat","",Severity.minor),
"global-constructors":OfficialWarningDesc("global-constructors","",Severity.minor),
"global-isel":OfficialWarningDesc("global-isel","",Severity.minor),
"gnu":OfficialWarningDesc("gnu","",Severity.minor),
"gnu-alignof-expression":OfficialWarningDesc("gnu-alignof-expression","",Severity.minor),
"gnu-anonymous-struct":OfficialWarningDesc("gnu-anonymous-struct","",Severity.minor),
"gnu-array-member-paren-init":OfficialWarningDesc("gnu-array-member-paren-init","",Severity.minor),
"gnu-auto-type":OfficialWarningDesc("gnu-auto-type","",Severity.minor),
"gnu-binary-literal":OfficialWarningDesc("gnu-binary-literal","",Severity.minor),
"gnu-case-range":OfficialWarningDesc("gnu-case-range","",Severity.minor),
"gnu-complex-integer":OfficialWarningDesc("gnu-complex-integer","",Severity.minor),
"gnu-compound-literal-initializer":OfficialWarningDesc("gnu-compound-literal-initializer","",Severity.minor),
"gnu-conditional-omitted-operand":OfficialWarningDesc("gnu-conditional-omitted-operand","",Severity.minor),
"gnu-designator":OfficialWarningDesc("gnu-designator","",Severity.minor),
"gnu-empty-initializer":OfficialWarningDesc("gnu-empty-initializer","",Severity.minor),
"gnu-empty-struct":OfficialWarningDesc("gnu-empty-struct","",Severity.minor),
"gnu-flexible-array-initializer":OfficialWarningDesc("gnu-flexible-array-initializer","",Severity.minor),
"gnu-flexible-array-union-member":OfficialWarningDesc("gnu-flexible-array-union-member","",Severity.minor),
"gnu-folding-constant":OfficialWarningDesc("gnu-folding-constant","",Severity.minor),
"gnu-imaginary-constant":OfficialWarningDesc("gnu-imaginary-constant","",Severity.minor),
"gnu-include-next":OfficialWarningDesc("gnu-include-next","",Severity.minor),
"gnu-inline-cpp-without-extern":OfficialWarningDesc("gnu-inline-cpp-without-extern","",Severity.minor),
"gnu-label-as-value":OfficialWarningDesc("gnu-label-as-value","",Severity.minor),
"gnu-line-marker":OfficialWarningDesc("gnu-line-marker","",Severity.minor),
"gnu-null-pointer-arithmetic":OfficialWarningDesc("gnu-null-pointer-arithmetic","",Severity.major),
"gnu-pointer-arith":OfficialWarningDesc("gnu-pointer-arith","",Severity.minor),
"gnu-redeclared-enum":OfficialWarningDesc("gnu-redeclared-enum","",Severity.minor),
"gnu-statement-expression":OfficialWarningDesc("gnu-statement-expression","",Severity.minor),
"gnu-statement-expression-from-macro-expansion":OfficialWarningDesc("gnu-statement-expression-from-macro-expansion","",Severity.minor),
"gnu-static-float-init":OfficialWarningDesc("gnu-static-float-init","",Severity.minor),
"gnu-string-literal-operator-template":OfficialWarningDesc("gnu-string-literal-operator-template","",Severity.minor),
"gnu-union-cast":OfficialWarningDesc("gnu-union-cast","",Severity.minor),
"gnu-variable-sized-type-not-at-end":OfficialWarningDesc("gnu-variable-sized-type-not-at-end","",Severity.minor),
"gnu-zero-line-directive":OfficialWarningDesc("gnu-zero-line-directive","",Severity.minor),
"gnu-zero-variadic-macro-arguments":OfficialWarningDesc("gnu-zero-variadic-macro-arguments","",Severity.minor),
"gpu-maybe-wrong-side":OfficialWarningDesc("gpu-maybe-wrong-side","",Severity.minor),
"header-guard":OfficialWarningDesc("header-guard","",Severity.minor),
"header-hygiene":OfficialWarningDesc("header-hygiene","",Severity.minor),
"hip-only":OfficialWarningDesc("hip-only","",Severity.minor),
"hlsl-extensions":OfficialWarningDesc("hlsl-extensions","",Severity.minor),
"idiomatic-parentheses":OfficialWarningDesc("idiomatic-parentheses","",Severity.minor),
"ignored-attributes":OfficialWarningDesc("ignored-attributes","",Severity.minor),
"ignored-availability-without-sdk-settings":OfficialWarningDesc("ignored-availability-without-sdk-settings","",Severity.minor),
"ignored-optimization-argument":OfficialWarningDesc("ignored-optimization-argument","",Severity.minor),
"ignored-pragma-intrinsic":OfficialWarningDesc("ignored-pragma-intrinsic","",Severity.minor),
"ignored-pragma-optimize":OfficialWarningDesc("ignored-pragma-optimize","",Severity.minor),
"ignored-pragmas":OfficialWarningDesc("ignored-pragmas","",Severity.minor),
"ignored-qualifiers":OfficialWarningDesc("ignored-qualifiers","",Severity.minor),
"ignored-reference-qualifiers":OfficialWarningDesc("ignored-reference-qualifiers","",Severity.minor),
"implicit":OfficialWarningDesc("implicit","",Severity.minor),
"implicit-atomic-properties":OfficialWarningDesc("implicit-atomic-properties","",Severity.minor),
"implicit-const-int-float-conversion":OfficialWarningDesc("implicit-const-int-float-conversion","",Severity.minor),
"implicit-conversion-floating-point-to-bool":OfficialWarningDesc("implicit-conversion-floating-point-to-bool","",Severity.minor),
"implicit-exception-spec-mismatch":OfficialWarningDesc("implicit-exception-spec-mismatch","",Severity.minor),
"implicit-fallthrough":OfficialWarningDesc("implicit-fallthrough","",Severity.minor),
"implicit-fallthrough-per-function":OfficialWarningDesc("implicit-fallthrough-per-function","",Severity.minor),
"implicit-fixed-point-conversion":OfficialWarningDesc("implicit-fixed-point-conversion","",Severity.minor),
"implicit-float-conversion":OfficialWarningDesc("implicit-float-conversion","",Severity.minor),
"implicit-function-declaration":OfficialWarningDesc("implicit-function-declaration","",Severity.minor),
"implicit-int":OfficialWarningDesc("implicit-int","",Severity.minor),
"implicit-int-conversion":OfficialWarningDesc("implicit-int-conversion","",Severity.minor),
"implicit-int-float-conversion":OfficialWarningDesc("implicit-int-float-conversion","",Severity.minor),
"implicit-retain-self":OfficialWarningDesc("implicit-retain-self","",Severity.minor),
"implicitly-unsigned-literal":OfficialWarningDesc("implicitly-unsigned-literal","",Severity.minor),
"import":OfficialWarningDesc("import","",Severity.minor),
"import-preprocessor-directive-pedantic":OfficialWarningDesc("import-preprocessor-directive-pedantic","",Severity.minor),
"inaccessible-base":OfficialWarningDesc("inaccessible-base","",Severity.minor),
"include-next-absolute-path":OfficialWarningDesc("include-next-absolute-path","",Severity.minor),
"include-next-outside-header":OfficialWarningDesc("include-next-outside-header","",Severity.minor),
"incompatible-exception-spec":OfficialWarningDesc("incompatible-exception-spec","",Severity.minor),
"incompatible-function-pointer-types":OfficialWarningDesc("incompatible-function-pointer-types","",Severity.minor),
"incompatible-library-redeclaration":OfficialWarningDesc("incompatible-library-redeclaration","",Severity.minor),
"incompatible-ms-struct":OfficialWarningDesc("incompatible-ms-struct","",Severity.minor),
"incompatible-pointer-types":OfficialWarningDesc("incompatible-pointer-types","",Severity.minor),
"incompatible-pointer-types-discards-qualifiers":OfficialWarningDesc("incompatible-pointer-types-discards-qualifiers","",Severity.minor),
"incompatible-property-type":OfficialWarningDesc("incompatible-property-type","",Severity.minor),
"incompatible-sysroot":OfficialWarningDesc("incompatible-sysroot","",Severity.minor),
"incomplete-framework-module-declaration":OfficialWarningDesc("incomplete-framework-module-declaration","",Severity.minor),
"incomplete-implementation":OfficialWarningDesc("incomplete-implementation","",Severity.minor),
"incomplete-module":OfficialWarningDesc("incomplete-module","",Severity.minor),
"incomplete-setjmp-declaration":OfficialWarningDesc("incomplete-setjmp-declaration","",Severity.minor),
"incomplete-umbrella":OfficialWarningDesc("incomplete-umbrella","",Severity.minor),
"inconsistent-dllimport":OfficialWarningDesc("inconsistent-dllimport","",Severity.minor),
"inconsistent-missing-destructor-override":OfficialWarningDesc("inconsistent-missing-destructor-override","",Severity.minor),
"inconsistent-missing-override":OfficialWarningDesc("inconsistent-missing-override","",Severity.minor),
"increment-bool":OfficialWarningDesc("increment-bool","",Severity.minor),
"infinite-recursion":OfficialWarningDesc("infinite-recursion","",Severity.minor),
"init-self":OfficialWarningDesc("init-self","",Severity.minor),
"initializer-overrides":OfficialWarningDesc("initializer-overrides","",Severity.minor),
"injected-class-name":OfficialWarningDesc("injected-class-name","",Severity.minor),
"inline":OfficialWarningDesc("inline","",Severity.minor),
"inline-asm":OfficialWarningDesc("inline-asm","",Severity.minor),
"inline-namespace-reopened-noninline":OfficialWarningDesc("inline-namespace-reopened-noninline","",Severity.minor),
"inline-new-delete":OfficialWarningDesc("inline-new-delete","",Severity.minor),
"instantiation-after-specialization":OfficialWarningDesc("instantiation-after-specialization","",Severity.minor),
"int-conversion":OfficialWarningDesc("int-conversion","",Severity.minor),
"int-conversions":OfficialWarningDesc("int-conversions","",Severity.minor),
"int-in-bool-context":OfficialWarningDesc("int-in-bool-context","",Severity.minor),
"int-to-pointer-cast":OfficialWarningDesc("int-to-pointer-cast","",Severity.minor),
"int-to-void-pointer-cast":OfficialWarningDesc("int-to-void-pointer-cast","",Severity.minor),
"integer-overflow":OfficialWarningDesc("integer-overflow","",Severity.major),
"interrupt-service-routine":OfficialWarningDesc("interrupt-service-routine","",Severity.minor),
"invalid-command-line-argument":OfficialWarningDesc("invalid-command-line-argument","",Severity.minor),
"invalid-constexpr":OfficialWarningDesc("invalid-constexpr","",Severity.minor),
"invalid-iboutlet":OfficialWarningDesc("invalid-iboutlet","",Severity.minor),
"invalid-initializer-from-system-header":OfficialWarningDesc("invalid-initializer-from-system-header","",Severity.minor),
"invalid-ios-deployment-target":OfficialWarningDesc("invalid-ios-deployment-target","",Severity.minor),
"invalid-no-builtin-names":OfficialWarningDesc("invalid-no-builtin-names","",Severity.minor),
"invalid-noreturn":OfficialWarningDesc("invalid-noreturn","",Severity.minor),
"invalid-offsetof":OfficialWarningDesc("invalid-offsetof","",Severity.minor),
"invalid-or-nonexistent-directory":OfficialWarningDesc("invalid-or-nonexistent-directory","",Severity.minor),
"invalid-partial-specialization":OfficialWarningDesc("invalid-partial-specialization","",Severity.minor),
"invalid-pch":OfficialWarningDesc("invalid-pch","",Severity.minor),
"invalid-pp-token":OfficialWarningDesc("invalid-pp-token","",Severity.minor),
"invalid-source-encoding":OfficialWarningDesc("invalid-source-encoding","",Severity.minor),
"invalid-token-paste":OfficialWarningDesc("invalid-token-paste","",Severity.minor),
"invalid-utf8":OfficialWarningDesc("invalid-utf8","",Severity.minor),
"jump-seh-finally":OfficialWarningDesc("jump-seh-finally","",Severity.minor),
"keyword-compat":OfficialWarningDesc("keyword-compat","",Severity.minor),
"keyword-macro":OfficialWarningDesc("keyword-macro","",Severity.minor),
"knr-promoted-parameter":OfficialWarningDesc("knr-promoted-parameter","",Severity.minor),
"language-extension-token":OfficialWarningDesc("language-extension-token","",Severity.minor),
"large-by-value-copy":OfficialWarningDesc("large-by-value-copy","",Severity.minor),
"liblto":OfficialWarningDesc("liblto","",Severity.minor),
"linker-warnings":OfficialWarningDesc("linker-warnings","",Severity.minor),
"literal-conversion":OfficialWarningDesc("literal-conversion","",Severity.minor),
"literal-range":OfficialWarningDesc("literal-range","",Severity.minor),
"local-type-template-args":OfficialWarningDesc("local-type-template-args","",Severity.minor),
"logical-not-parentheses":OfficialWarningDesc("logical-not-parentheses","",Severity.minor),
"logical-op-parentheses":OfficialWarningDesc("logical-op-parentheses","",Severity.minor),
"long-long":OfficialWarningDesc("long-long","",Severity.minor),
"loop-analysis":OfficialWarningDesc("loop-analysis","",Severity.minor),
"macro-redefined":OfficialWarningDesc("macro-redefined","",Severity.minor),
"main":OfficialWarningDesc("main","",Severity.minor),
"main-return-type":OfficialWarningDesc("main-return-type","",Severity.major),
"malformed-warning-check":OfficialWarningDesc("malformed-warning-check","",Severity.minor),
"many-braces-around-scalar-init":OfficialWarningDesc("many-braces-around-scalar-init","",Severity.minor),
"max-tokens":OfficialWarningDesc("max-tokens","",Severity.minor),
"max-unsigned-zero":OfficialWarningDesc("max-unsigned-zero","",Severity.minor),
"memset-transposed-args":OfficialWarningDesc("memset-transposed-args","",Severity.minor),
"memsize-comparison":OfficialWarningDesc("memsize-comparison","",Severity.minor),
"method-signatures":OfficialWarningDesc("method-signatures","",Severity.minor),
"microsoft":OfficialWarningDesc("microsoft","",Severity.minor),
"microsoft-abstract":OfficialWarningDesc("microsoft-abstract","",Severity.minor),
"microsoft-anon-tag":OfficialWarningDesc("microsoft-anon-tag","",Severity.minor),
"microsoft-cast":OfficialWarningDesc("microsoft-cast","",Severity.minor),
"microsoft-charize":OfficialWarningDesc("microsoft-charize","",Severity.minor),
"microsoft-comment-paste":OfficialWarningDesc("microsoft-comment-paste","",Severity.minor),
"microsoft-const-init":OfficialWarningDesc("microsoft-const-init","",Severity.minor),
"microsoft-cpp-macro":OfficialWarningDesc("microsoft-cpp-macro","",Severity.minor),
"microsoft-default-arg-redefinition":OfficialWarningDesc("microsoft-default-arg-redefinition","",Severity.minor),
"microsoft-drectve-section":OfficialWarningDesc("microsoft-drectve-section","",Severity.minor),
"microsoft-end-of-file":OfficialWarningDesc("microsoft-end-of-file","",Severity.minor),
"microsoft-enum-forward-reference":OfficialWarningDesc("microsoft-enum-forward-reference","",Severity.minor),
"microsoft-enum-value":OfficialWarningDesc("microsoft-enum-value","",Severity.minor),
"microsoft-exception-spec":OfficialWarningDesc("microsoft-exception-spec","",Severity.minor),
"microsoft-exists":OfficialWarningDesc("microsoft-exists","",Severity.minor),
"microsoft-explicit-constructor-call":OfficialWarningDesc("microsoft-explicit-constructor-call","",Severity.minor),
"microsoft-extra-qualification":OfficialWarningDesc("microsoft-extra-qualification","",Severity.minor),
"microsoft-fixed-enum":OfficialWarningDesc("microsoft-fixed-enum","",Severity.minor),
"microsoft-flexible-array":OfficialWarningDesc("microsoft-flexible-array","",Severity.minor),
"microsoft-goto":OfficialWarningDesc("microsoft-goto","",Severity.minor),
"microsoft-inaccessible-base":OfficialWarningDesc("microsoft-inaccessible-base","",Severity.minor),
"microsoft-include":OfficialWarningDesc("microsoft-include","",Severity.minor),
"microsoft-mutable-reference":OfficialWarningDesc("microsoft-mutable-reference","",Severity.minor),
"microsoft-pure-definition":OfficialWarningDesc("microsoft-pure-definition","",Severity.minor),
"microsoft-redeclare-static":OfficialWarningDesc("microsoft-redeclare-static","",Severity.minor),
"microsoft-sealed":OfficialWarningDesc("microsoft-sealed","",Severity.minor),
"microsoft-static-assert":OfficialWarningDesc("microsoft-static-assert","",Severity.minor),
"microsoft-template":OfficialWarningDesc("microsoft-template","",Severity.minor),
"microsoft-template-shadow":OfficialWarningDesc("microsoft-template-shadow","",Severity.minor),
"microsoft-union-member-reference":OfficialWarningDesc("microsoft-union-member-reference","",Severity.minor),
"microsoft-unqualified-friend":OfficialWarningDesc("microsoft-unqualified-friend","",Severity.minor),
"microsoft-using-decl":OfficialWarningDesc("microsoft-using-decl","",Severity.minor),
"microsoft-void-pseudo-dtor":OfficialWarningDesc("microsoft-void-pseudo-dtor","",Severity.minor),
"misexpect":OfficialWarningDesc("misexpect","",Severity.minor),
"misleading-indentation":OfficialWarningDesc("misleading-indentation","",Severity.minor),
"mismatched-new-delete":OfficialWarningDesc("mismatched-new-delete","",Severity.major),
"mismatched-parameter-types":OfficialWarningDesc("mismatched-parameter-types","",Severity.minor),
"mismatched-return-types":OfficialWarningDesc("mismatched-return-types","",Severity.major),
"mismatched-tags":OfficialWarningDesc("mismatched-tags","",Severity.minor),
"missing-braces":OfficialWarningDesc("missing-braces","",Severity.minor),
"missing-constinit":OfficialWarningDesc("missing-constinit","",Severity.minor),
"missing-declarations":OfficialWarningDesc("missing-declarations","",Severity.minor),
"missing-exception-spec":OfficialWarningDesc("missing-exception-spec","",Severity.minor),
"missing-field-initializers":OfficialWarningDesc("missing-field-initializers","",Severity.minor),
"missing-format-attribute":OfficialWarningDesc("missing-format-attribute","",Severity.minor),
"missing-include-dirs":OfficialWarningDesc("missing-include-dirs","",Severity.minor),
"missing-method-return-type":OfficialWarningDesc("missing-method-return-type","",Severity.minor),
"missing-noescape":OfficialWarningDesc("missing-noescape","",Severity.minor),
"missing-noreturn":OfficialWarningDesc("missing-noreturn","",Severity.minor),
"missing-prototype-for-cc":OfficialWarningDesc("missing-prototype-for-cc","",Severity.minor),
"missing-prototypes":OfficialWarningDesc("missing-prototypes","",Severity.minor),
"missing-selector-name":OfficialWarningDesc("missing-selector-name","",Severity.minor),
"missing-sysroot":OfficialWarningDesc("missing-sysroot","",Severity.minor),
"missing-variable-declarations":OfficialWarningDesc("missing-variable-declarations","",Severity.minor),
"misspelled-assumption":OfficialWarningDesc("misspelled-assumption","",Severity.minor),
"module-conflict":OfficialWarningDesc("module-conflict","",Severity.minor),
"module-file-config-mismatch":OfficialWarningDesc("module-file-config-mismatch","",Severity.minor),
"module-file-extension":OfficialWarningDesc("module-file-extension","",Severity.minor),
"module-import-in-extern-c":OfficialWarningDesc("module-import-in-extern-c","",Severity.minor),
"modules-ambiguous-internal-linkage":OfficialWarningDesc("modules-ambiguous-internal-linkage","",Severity.minor),
"modules-import-nested-redundant":OfficialWarningDesc("modules-import-nested-redundant","",Severity.minor),
"most":OfficialWarningDesc("most","",Severity.minor),
"move":OfficialWarningDesc("move","",Severity.minor),
"msvc-include":OfficialWarningDesc("msvc-include","",Severity.minor),
"msvc-not-found":OfficialWarningDesc("msvc-not-found","",Severity.minor),
"multichar":OfficialWarningDesc("multichar","",Severity.minor),
"multiple-move-vbase":OfficialWarningDesc("multiple-move-vbase","",Severity.minor),
"narrowing":OfficialWarningDesc("narrowing","",Severity.minor),
"nested-anon-types":OfficialWarningDesc("nested-anon-types","",Severity.minor),
"nested-externs":OfficialWarningDesc("nested-externs","",Severity.minor),
"new-returns-null":OfficialWarningDesc("new-returns-null","",Severity.minor),
"newline-eof":OfficialWarningDesc("newline-eof","",Severity.minor),
"noderef":OfficialWarningDesc("noderef","",Severity.minor),
"noexcept-type":OfficialWarningDesc("noexcept-type","",Severity.minor),
"non-c-typedef-for-linkage":OfficialWarningDesc("non-c-typedef-for-linkage","",Severity.minor),
"non-gcc":OfficialWarningDesc("non-gcc","",Severity.minor),
"non-literal-null-conversion":OfficialWarningDesc("non-literal-null-conversion","",Severity.minor),
"non-modular-include-in-framework-module":OfficialWarningDesc("non-modular-include-in-framework-module","",Severity.minor),
"non-modular-include-in-module":OfficialWarningDesc("non-modular-include-in-module","",Severity.minor),
"non-pod-varargs":OfficialWarningDesc("non-pod-varargs","",Severity.minor),
"non-power-of-two-alignment":OfficialWarningDesc("non-power-of-two-alignment","",Severity.minor),
"non-virtual-dtor":OfficialWarningDesc("non-virtual-dtor","",Severity.minor),
"nonnull":OfficialWarningDesc("nonnull","",Severity.minor),
"nonportable-cfstrings":OfficialWarningDesc("nonportable-cfstrings","",Severity.minor),
"nonportable-include-path":OfficialWarningDesc("nonportable-include-path","",Severity.minor),
"nonportable-system-include-path":OfficialWarningDesc("nonportable-system-include-path","",Severity.minor),
"nonportable-vector-initialization":OfficialWarningDesc("nonportable-vector-initialization","",Severity.minor),
"nontrivial-memaccess":OfficialWarningDesc("nontrivial-memaccess","",Severity.minor),
"nsconsumed-mismatch":OfficialWarningDesc("nsconsumed-mismatch","",Severity.minor),
"nsreturns-mismatch":OfficialWarningDesc("nsreturns-mismatch","",Severity.minor),
"null-arithmetic":OfficialWarningDesc("null-arithmetic","",Severity.major),
"null-character":OfficialWarningDesc("null-character","",Severity.major),
"null-conversion":OfficialWarningDesc("null-conversion","",Severity.major),
"null-dereference":OfficialWarningDesc("null-dereference","",Severity.major),
"null-pointer-arithmetic":OfficialWarningDesc("null-pointer-arithmetic","",Severity.major),
"null-pointer-subtraction":OfficialWarningDesc("null-pointer-subtraction","",Severity.major),
"nullability":OfficialWarningDesc("nullability","",Severity.minor),
"nullability-completeness":OfficialWarningDesc("nullability-completeness","",Severity.minor),
"nullability-completeness-on-arrays":OfficialWarningDesc("nullability-completeness-on-arrays","",Severity.minor),
"nullability-declspec":OfficialWarningDesc("nullability-declspec","",Severity.minor),
"nullability-extension":OfficialWarningDesc("nullability-extension","",Severity.minor),
"nullability-inferred-on-nested-type":OfficialWarningDesc("nullability-inferred-on-nested-type","",Severity.minor),
"nullable-to-nonnull-conversion":OfficialWarningDesc("nullable-to-nonnull-conversion","",Severity.minor),
"objc-autosynthesis-property-ivar-name-match":OfficialWarningDesc("objc-autosynthesis-property-ivar-name-match","",Severity.minor),
"objc-bool-constant-conversion":OfficialWarningDesc("objc-bool-constant-conversion","",Severity.minor),
"objc-boxing":OfficialWarningDesc("objc-boxing","",Severity.minor),
"objc-circular-container":OfficialWarningDesc("objc-circular-container","",Severity.minor),
"objc-cocoa-api":OfficialWarningDesc("objc-cocoa-api","",Severity.minor),
"objc-designated-initializers":OfficialWarningDesc("objc-designated-initializers","",Severity.minor),
"objc-dictionary-duplicate-keys":OfficialWarningDesc("objc-dictionary-duplicate-keys","",Severity.major),
"objc-flexible-array":OfficialWarningDesc("objc-flexible-array","",Severity.minor),
"objc-forward-class-redefinition":OfficialWarningDesc("objc-forward-class-redefinition","",Severity.minor),
"objc-interface-ivars":OfficialWarningDesc("objc-interface-ivars","",Severity.minor),
"objc-literal-compare":OfficialWarningDesc("objc-literal-compare","",Severity.minor),
"objc-literal-conversion":OfficialWarningDesc("objc-literal-conversion","",Severity.minor),
"objc-macro-redefinition":OfficialWarningDesc("objc-macro-redefinition","",Severity.minor),
"objc-messaging-id":OfficialWarningDesc("objc-messaging-id","",Severity.minor),
"objc-method-access":OfficialWarningDesc("objc-method-access","",Severity.minor),
"objc-missing-property-synthesis":OfficialWarningDesc("objc-missing-property-synthesis","",Severity.minor),
"objc-missing-super-calls":OfficialWarningDesc("objc-missing-super-calls","",Severity.minor),
"objc-multiple-method-names":OfficialWarningDesc("objc-multiple-method-names","",Severity.minor),
"objc-noncopy-retain-block-property":OfficialWarningDesc("objc-noncopy-retain-block-property","",Severity.minor),
"objc-nonunified-exceptions":OfficialWarningDesc("objc-nonunified-exceptions","",Severity.minor),
"objc-property-assign-on-object-type":OfficialWarningDesc("objc-property-assign-on-object-type","",Severity.minor),
"objc-property-implementation":OfficialWarningDesc("objc-property-implementation","",Severity.minor),
"objc-property-implicit-mismatch":OfficialWarningDesc("objc-property-implicit-mismatch","",Severity.minor),
"objc-property-matches-cocoa-ownership-rule":OfficialWarningDesc("objc-property-matches-cocoa-ownership-rule","",Severity.minor),
"objc-property-no-attribute":OfficialWarningDesc("objc-property-no-attribute","",Severity.minor),
"objc-property-synthesis":OfficialWarningDesc("objc-property-synthesis","",Severity.minor),
"objc-protocol-method-implementation":OfficialWarningDesc("objc-protocol-method-implementation","",Severity.minor),
"objc-protocol-property-synthesis":OfficialWarningDesc("objc-protocol-property-synthesis","",Severity.minor),
"objc-protocol-qualifiers":OfficialWarningDesc("objc-protocol-qualifiers","",Severity.minor),
"objc-readonly-with-setter-property":OfficialWarningDesc("objc-readonly-with-setter-property","",Severity.minor),
"objc-redundant-api-use":OfficialWarningDesc("objc-redundant-api-use","",Severity.minor),
"objc-redundant-literal-use":OfficialWarningDesc("objc-redundant-literal-use","",Severity.minor),
"objc-root-class":OfficialWarningDesc("objc-root-class","",Severity.minor),
"objc-signed-char-bool":OfficialWarningDesc("objc-signed-char-bool","",Severity.minor),
"objc-signed-char-bool-implicit-float-conversion":OfficialWarningDesc("objc-signed-char-bool-implicit-float-conversion","",Severity.minor),
"objc-signed-char-bool-implicit-int-conversion":OfficialWarningDesc("objc-signed-char-bool-implicit-int-conversion","",Severity.minor),
"objc-string-compare":OfficialWarningDesc("objc-string-compare","",Severity.minor),
"objc-string-concatenation":OfficialWarningDesc("objc-string-concatenation","",Severity.minor),
"objc-unsafe-perform-selector":OfficialWarningDesc("objc-unsafe-perform-selector","",Severity.minor),
"odr":OfficialWarningDesc("odr","",Severity.minor),
"old-style-cast":OfficialWarningDesc("old-style-cast","",Severity.minor),
"old-style-definition":OfficialWarningDesc("old-style-definition","",Severity.minor),
"opencl-unsupported-rgba":OfficialWarningDesc("opencl-unsupported-rgba","",Severity.minor),
"openmp":OfficialWarningDesc("openmp","",Severity.minor),
"openmp-51-extensions":OfficialWarningDesc("openmp-51-extensions","",Severity.minor),
"openmp-clauses":OfficialWarningDesc("openmp-clauses","",Severity.minor),
"openmp-loop-form":OfficialWarningDesc("openmp-loop-form","",Severity.minor),
"openmp-mapping":OfficialWarningDesc("openmp-mapping","",Severity.minor),
"openmp-target":OfficialWarningDesc("openmp-target","",Severity.minor),
"option-ignored":OfficialWarningDesc("option-ignored","",Severity.minor),
"ordered-compare-function-pointers":OfficialWarningDesc("ordered-compare-function-pointers","",Severity.minor),
"out-of-line-declaration":OfficialWarningDesc("out-of-line-declaration","",Severity.minor),
"out-of-scope-function":OfficialWarningDesc("out-of-scope-function","",Severity.minor),
"over-aligned":OfficialWarningDesc("over-aligned","",Severity.minor),
"overflow":OfficialWarningDesc("overflow","",Severity.minor),
"overlength-strings":OfficialWarningDesc("overlength-strings","",Severity.minor),
"overloaded-shift-op-parentheses":OfficialWarningDesc("overloaded-shift-op-parentheses","",Severity.minor),
"overloaded-virtual":OfficialWarningDesc("overloaded-virtual","",Severity.minor),
"override-init":OfficialWarningDesc("override-init","",Severity.minor),
"override-module":OfficialWarningDesc("override-module","",Severity.minor),
"overriding-method-mismatch":OfficialWarningDesc("overriding-method-mismatch","",Severity.minor),
"overriding-t-option":OfficialWarningDesc("overriding-t-option","",Severity.minor),
"packed":OfficialWarningDesc("packed","",Severity.minor),
"padded":OfficialWarningDesc("padded","",Severity.minor),
"parentheses":OfficialWarningDesc("parentheses","",Severity.minor),
"parentheses-equality":OfficialWarningDesc("parentheses-equality","",Severity.minor),
"partial-availability":OfficialWarningDesc("partial-availability","",Severity.minor),
"pass-failed":OfficialWarningDesc("pass-failed","",Severity.minor),
"pch-date-time":OfficialWarningDesc("pch-date-time","",Severity.minor),
"pedantic":OfficialWarningDesc("pedantic","",Severity.minor),
"pedantic-core-features":OfficialWarningDesc("pedantic-core-features","",Severity.minor),
"pedantic-macros":OfficialWarningDesc("pedantic-macros","",Severity.minor),
"pessimizing-move":OfficialWarningDesc("pessimizing-move","",Severity.minor),
"pointer-arith":OfficialWarningDesc("pointer-arith","",Severity.minor),
"pointer-bool-conversion":OfficialWarningDesc("pointer-bool-conversion","",Severity.minor),
"pointer-compare":OfficialWarningDesc("pointer-compare","",Severity.minor),
"pointer-integer-compare":OfficialWarningDesc("pointer-integer-compare","",Severity.minor),
"pointer-sign":OfficialWarningDesc("pointer-sign","",Severity.minor),
"pointer-to-enum-cast":OfficialWarningDesc("pointer-to-enum-cast","",Severity.minor),
"pointer-to-int-cast":OfficialWarningDesc("pointer-to-int-cast","",Severity.minor),
"pointer-type-mismatch":OfficialWarningDesc("pointer-type-mismatch","",Severity.minor),
"poison-system-directories":OfficialWarningDesc("poison-system-directories","",Severity.minor),
"potentially-direct-selector":OfficialWarningDesc("potentially-direct-selector","",Severity.minor),
"potentially-evaluated-expression":OfficialWarningDesc("potentially-evaluated-expression","",Severity.minor),
"pragma-clang-attribute":OfficialWarningDesc("pragma-clang-attribute","",Severity.minor),
"pragma-once-outside-header":OfficialWarningDesc("pragma-once-outside-header","",Severity.minor),
"pragma-pack":OfficialWarningDesc("pragma-pack","",Severity.minor),
"pragma-pack-suspicious-include":OfficialWarningDesc("pragma-pack-suspicious-include","",Severity.minor),
"pragma-system-header-outside-header":OfficialWarningDesc("pragma-system-header-outside-header","",Severity.minor),
"pragmas":OfficialWarningDesc("pragmas","",Severity.minor),
"pre-c++14-compat":OfficialWarningDesc("pre-c++14-compat","",Severity.minor),
"pre-c++14-compat-pedantic":OfficialWarningDesc("pre-c++14-compat-pedantic","",Severity.minor),
"pre-c++17-compat":OfficialWarningDesc("pre-c++17-compat","",Severity.minor),
"pre-c++17-compat-pedantic":OfficialWarningDesc("pre-c++17-compat-pedantic","",Severity.minor),
"pre-c++20-compat":OfficialWarningDesc("pre-c++20-compat","",Severity.minor),
"pre-c++20-compat-pedantic":OfficialWarningDesc("pre-c++20-compat-pedantic","",Severity.minor),
"pre-c++2b-compat":OfficialWarningDesc("pre-c++2b-compat","",Severity.minor),
"pre-c++2b-compat-pedantic":OfficialWarningDesc("pre-c++2b-compat-pedantic","",Severity.minor),
"pre-c2x-compat":OfficialWarningDesc("pre-c2x-compat","",Severity.minor),
"pre-c2x-compat-pedantic":OfficialWarningDesc("pre-c2x-compat-pedantic","",Severity.minor),
"pre-openmp-51-compat":OfficialWarningDesc("pre-openmp-51-compat","",Severity.minor),
"predefined-identifier-outside-function":OfficialWarningDesc("predefined-identifier-outside-function","",Severity.minor),
"private-extern":OfficialWarningDesc("private-extern","",Severity.minor),
"private-header":OfficialWarningDesc("private-header","",Severity.minor),
"private-module":OfficialWarningDesc("private-module","",Severity.minor),
"profile-instr-missing":OfficialWarningDesc("profile-instr-missing","",Severity.minor),
"profile-instr-out-of-date":OfficialWarningDesc("profile-instr-out-of-date","",Severity.minor),
"profile-instr-unprofiled":OfficialWarningDesc("profile-instr-unprofiled","",Severity.minor),
"property-access-dot-syntax":OfficialWarningDesc("property-access-dot-syntax","",Severity.minor),
"property-attribute-mismatch":OfficialWarningDesc("property-attribute-mismatch","",Severity.minor),
"protocol":OfficialWarningDesc("protocol","",Severity.minor),
"protocol-property-synthesis-ambiguity":OfficialWarningDesc("protocol-property-synthesis-ambiguity","",Severity.minor),
"psabi":OfficialWarningDesc("psabi","",Severity.minor),
"qualified-void-return-type":OfficialWarningDesc("qualified-void-return-type","",Severity.minor),
"quoted-include-in-framework-header":OfficialWarningDesc("quoted-include-in-framework-header","",Severity.minor),
"range-loop-analysis":OfficialWarningDesc("range-loop-analysis","",Severity.minor),
"range-loop-bind-reference":OfficialWarningDesc("range-loop-bind-reference","",Severity.minor),
"range-loop-construct":OfficialWarningDesc("range-loop-construct","",Severity.minor),
"readonly-iboutlet-property":OfficialWarningDesc("readonly-iboutlet-property","",Severity.minor),
"receiver-expr":OfficialWarningDesc("receiver-expr","",Severity.minor),
"receiver-forward-class":OfficialWarningDesc("receiver-forward-class","",Severity.minor),
"redeclared-class-member":OfficialWarningDesc("redeclared-class-member","",Severity.minor),
"redundant-consteval-if":OfficialWarningDesc("redundant-consteval-if","",Severity.minor),
"redundant-decls":OfficialWarningDesc("redundant-decls","",Severity.minor),
"redundant-move":OfficialWarningDesc("redundant-move","",Severity.minor),
"redundant-parens":OfficialWarningDesc("redundant-parens","",Severity.minor),
"register":OfficialWarningDesc("register","",Severity.minor),
"reinterpret-base-class":OfficialWarningDesc("reinterpret-base-class","",Severity.minor),
"reorder":OfficialWarningDesc("reorder","",Severity.minor),
"reorder-ctor":OfficialWarningDesc("reorder-ctor","",Severity.minor),
"reorder-init-list":OfficialWarningDesc("reorder-init-list","",Severity.minor),
"requires-super-attribute":OfficialWarningDesc("requires-super-attribute","",Severity.minor),
"reserved-id-macro":OfficialWarningDesc("reserved-id-macro","",Severity.minor),
"reserved-identifier":OfficialWarningDesc("reserved-identifier","",Severity.minor),
"reserved-macro-identifier":OfficialWarningDesc("reserved-macro-identifier","",Severity.minor),
"reserved-user-defined-literal":OfficialWarningDesc("reserved-user-defined-literal","",Severity.minor),
"restrict-expansion":OfficialWarningDesc("restrict-expansion","",Severity.minor),
"retained-language-linkage":OfficialWarningDesc("retained-language-linkage","",Severity.minor),
"return-stack-address":OfficialWarningDesc("return-stack-address","",Severity.minor),
"return-std-move":OfficialWarningDesc("return-std-move","",Severity.minor),
"return-type":OfficialWarningDesc("return-type","",Severity.major),
"return-type-c-linkage":OfficialWarningDesc("return-type-c-linkage","",Severity.major),
"rewrite-not-bool":OfficialWarningDesc("rewrite-not-bool","",Severity.minor),
"rtti":OfficialWarningDesc("rtti","",Severity.minor),
"sarif-format-unstable":OfficialWarningDesc("sarif-format-unstable","",Severity.minor),
"section":OfficialWarningDesc("section","",Severity.minor),
"selector":OfficialWarningDesc("selector","",Severity.minor),
"selector-type-mismatch":OfficialWarningDesc("selector-type-mismatch","",Severity.minor),
"self-assign":OfficialWarningDesc("self-assign","",Severity.minor),
"self-assign-field":OfficialWarningDesc("self-assign-field","",Severity.minor),
"self-assign-overloaded":OfficialWarningDesc("self-assign-overloaded","",Severity.minor),
"self-move":OfficialWarningDesc("self-move","",Severity.minor),
"semicolon-before-method-body":OfficialWarningDesc("semicolon-before-method-body","",Severity.minor),
"sentinel":OfficialWarningDesc("sentinel","",Severity.minor),
"sequence-point":OfficialWarningDesc("sequence-point","",Severity.minor),
"serialized-diagnostics":OfficialWarningDesc("serialized-diagnostics","",Severity.minor),
"shadow":OfficialWarningDesc("shadow","",Severity.minor),
"shadow-all":OfficialWarningDesc("shadow-all","",Severity.minor),
"shadow-field":OfficialWarningDesc("shadow-field","",Severity.minor),
"shadow-field-in-constructor":OfficialWarningDesc("shadow-field-in-constructor","",Severity.minor),
"shadow-field-in-constructor-modified":OfficialWarningDesc("shadow-field-in-constructor-modified","",Severity.minor),
"shadow-ivar":OfficialWarningDesc("shadow-ivar","",Severity.minor),
"shadow-uncaptured-local":OfficialWarningDesc("shadow-uncaptured-local","",Severity.minor),
"shift-count-negative":OfficialWarningDesc("shift-count-negative","",Severity.major),
"shift-count-overflow":OfficialWarningDesc("shift-count-overflow","",Severity.major),
"shift-negative-value":OfficialWarningDesc("shift-negative-value","",Severity.major),
"shift-op-parentheses":OfficialWarningDesc("shift-op-parentheses","",Severity.minor),
"shift-overflow":OfficialWarningDesc("shift-overflow","",Severity.major),
"shift-sign-overflow":OfficialWarningDesc("shift-sign-overflow","",Severity.major),
"shorten-64-to-32":OfficialWarningDesc("shorten-64-to-32","",Severity.major),
"sign-compare":OfficialWarningDesc("sign-compare","",Severity.minor),
"sign-conversion":OfficialWarningDesc("sign-conversion","",Severity.minor),
"sign-promo":OfficialWarningDesc("sign-promo","",Severity.minor),
"signed-enum-bitfield":OfficialWarningDesc("signed-enum-bitfield","",Severity.minor),
"signed-unsigned-wchar":OfficialWarningDesc("signed-unsigned-wchar","",Severity.minor),
"single-bit-bitfield-constant-conversion":OfficialWarningDesc("single-bit-bitfield-constant-conversion","",Severity.minor),
"sizeof-array-argument":OfficialWarningDesc("sizeof-array-argument","",Severity.major),
"sizeof-array-decay":OfficialWarningDesc("sizeof-array-decay","",Severity.minor),
"sizeof-array-div":OfficialWarningDesc("sizeof-array-div","",Severity.minor),
"sizeof-pointer-div":OfficialWarningDesc("sizeof-pointer-div","",Severity.major),
"sizeof-pointer-memaccess":OfficialWarningDesc("sizeof-pointer-memaccess","",Severity.minor),
"slash-u-filename":OfficialWarningDesc("slash-u-filename","",Severity.minor),
"slh-asm-goto":OfficialWarningDesc("slh-asm-goto","",Severity.minor),
"sometimes-uninitialized":OfficialWarningDesc("sometimes-uninitialized","",Severity.major),
"source-mgr":OfficialWarningDesc("source-mgr","",Severity.minor),
"source-uses-openmp":OfficialWarningDesc("source-uses-openmp","",Severity.minor),
"spir-compat":OfficialWarningDesc("spir-compat","",Severity.minor),
"spirv-compat":OfficialWarningDesc("spirv-compat","",Severity.minor),
"stack-exhausted":OfficialWarningDesc("stack-exhausted","",Severity.minor),
"stack-protector":OfficialWarningDesc("stack-protector","",Severity.minor),
"static-float-init":OfficialWarningDesc("static-float-init","",Severity.minor),
"static-in-inline":OfficialWarningDesc("static-in-inline","",Severity.minor),
"static-inline-explicit-instantiation":OfficialWarningDesc("static-inline-explicit-instantiation","",Severity.minor),
"static-local-in-inline":OfficialWarningDesc("static-local-in-inline","",Severity.minor),
"static-self-init":OfficialWarningDesc("static-self-init","",Severity.minor),
"stdlibcxx-not-found":OfficialWarningDesc("stdlibcxx-not-found","",Severity.minor),
"strict-aliasing":OfficialWarningDesc("strict-aliasing","",Severity.minor),
"strict-aliasing=0":OfficialWarningDesc("strict-aliasing=0","",Severity.minor),
"strict-aliasing=1":OfficialWarningDesc("strict-aliasing=1","",Severity.minor),
"strict-aliasing=2":OfficialWarningDesc("strict-aliasing=2","",Severity.minor),
"strict-overflow":OfficialWarningDesc("strict-overflow","",Severity.minor),
"strict-overflow=0":OfficialWarningDesc("strict-overflow=0","",Severity.minor),
"strict-overflow=1":OfficialWarningDesc("strict-overflow=1","",Severity.minor),
"strict-overflow=2":OfficialWarningDesc("strict-overflow=2","",Severity.minor),
"strict-overflow=3":OfficialWarningDesc("strict-overflow=3","",Severity.minor),
"strict-overflow=4":OfficialWarningDesc("strict-overflow=4","",Severity.minor),
"strict-overflow=5":OfficialWarningDesc("strict-overflow=5","",Severity.minor),
"strict-potentially-direct-selector":OfficialWarningDesc("strict-potentially-direct-selector","",Severity.minor),
"strict-prototypes":OfficialWarningDesc("strict-prototypes","",Severity.minor),
"strict-selector-match":OfficialWarningDesc("strict-selector-match","",Severity.minor),
"string-compare":OfficialWarningDesc("string-compare","",Severity.minor),
"string-concatenation":OfficialWarningDesc("string-concatenation","",Severity.minor),
"string-conversion":OfficialWarningDesc("string-conversion","",Severity.minor),
"string-plus-char":OfficialWarningDesc("string-plus-char","",Severity.major),
"string-plus-int":OfficialWarningDesc("string-plus-int","",Severity.major),
"strlcpy-strlcat-size":OfficialWarningDesc("strlcpy-strlcat-size","",Severity.minor),
"strncat-size":OfficialWarningDesc("strncat-size","",Severity.minor),
"suggest-destructor-override":OfficialWarningDesc("suggest-destructor-override","",Severity.minor),
"suggest-override":OfficialWarningDesc("suggest-override","",Severity.minor),
"super-class-method-mismatch":OfficialWarningDesc("super-class-method-mismatch","",Severity.minor),
"suspicious-bzero":OfficialWarningDesc("suspicious-bzero","",Severity.minor),
"suspicious-memaccess":OfficialWarningDesc("suspicious-memaccess","",Severity.minor),
"swift-name-attribute":OfficialWarningDesc("swift-name-attribute","",Severity.minor),
"switch":OfficialWarningDesc("switch","",Severity.minor),
"switch-bool":OfficialWarningDesc("switch-bool","",Severity.minor),
"switch-default":OfficialWarningDesc("switch-default","",Severity.minor),
"switch-enum":OfficialWarningDesc("switch-enum","",Severity.minor),
"sync-fetch-and-nand-semantics-changed":OfficialWarningDesc("sync-fetch-and-nand-semantics-changed","",Severity.minor),
"synth":OfficialWarningDesc("synth","",Severity.minor),
"target-clones-mixed-specifiers":OfficialWarningDesc("target-clones-mixed-specifiers","",Severity.minor),
"tautological-bitwise-compare":OfficialWarningDesc("tautological-bitwise-compare","",Severity.minor),
"tautological-compare":OfficialWarningDesc("tautological-compare","",Severity.minor),
"tautological-constant-compare":OfficialWarningDesc("tautological-constant-compare","",Severity.minor),
"tautological-constant-in-range-compare":OfficialWarningDesc("tautological-constant-in-range-compare","",Severity.minor),
"tautological-constant-out-of-range-compare":OfficialWarningDesc("tautological-constant-out-of-range-compare","",Severity.minor),
"tautological-objc-bool-compare":OfficialWarningDesc("tautological-objc-bool-compare","",Severity.minor),
"tautological-overlap-compare":OfficialWarningDesc("tautological-overlap-compare","",Severity.minor),
"tautological-pointer-compare":OfficialWarningDesc("tautological-pointer-compare","",Severity.minor),
"tautological-type-limit-compare":OfficialWarningDesc("tautological-type-limit-compare","",Severity.minor),
"tautological-undefined-compare":OfficialWarningDesc("tautological-undefined-compare","",Severity.minor),
"tautological-unsigned-char-zero-compare":OfficialWarningDesc("tautological-unsigned-char-zero-compare","",Severity.minor),
"tautological-unsigned-enum-zero-compare":OfficialWarningDesc("tautological-unsigned-enum-zero-compare","",Severity.minor),
"tautological-unsigned-zero-compare":OfficialWarningDesc("tautological-unsigned-zero-compare","",Severity.minor),
"tautological-value-range-compare":OfficialWarningDesc("tautological-value-range-compare","",Severity.minor),
"tcb-enforcement":OfficialWarningDesc("tcb-enforcement","",Severity.minor),
"tentative-definition-incomplete-type":OfficialWarningDesc("tentative-definition-incomplete-type","",Severity.minor),
"thread-safety":OfficialWarningDesc("thread-safety","",Severity.minor),
"thread-safety-analysis":OfficialWarningDesc("thread-safety-analysis","",Severity.minor),
"thread-safety-attributes":OfficialWarningDesc("thread-safety-attributes","",Severity.minor),
"thread-safety-beta":OfficialWarningDesc("thread-safety-beta","",Severity.minor),
"thread-safety-negative":OfficialWarningDesc("thread-safety-negative","",Severity.minor),
"thread-safety-precise":OfficialWarningDesc("thread-safety-precise","",Severity.minor),
"thread-safety-reference":OfficialWarningDesc("thread-safety-reference","",Severity.minor),
"thread-safety-verbose":OfficialWarningDesc("thread-safety-verbose","",Severity.minor),
"trigraphs":OfficialWarningDesc("trigraphs","",Severity.minor),
"type-limits":OfficialWarningDesc("type-limits","",Severity.minor),
"type-safety":OfficialWarningDesc("type-safety","",Severity.minor),
"typedef-redefinition":OfficialWarningDesc("typedef-redefinition","",Severity.minor),
"typename-missing":OfficialWarningDesc("typename-missing","",Severity.minor),
"unable-to-open-stats-file":OfficialWarningDesc("unable-to-open-stats-file","",Severity.minor),
"unaligned-access":OfficialWarningDesc("unaligned-access","",Severity.minor),
"unaligned-qualifier-implicit-cast":OfficialWarningDesc("unaligned-qualifier-implicit-cast","",Severity.minor),
"unavailable-declarations":OfficialWarningDesc("unavailable-declarations","",Severity.minor),
"undeclared-selector":OfficialWarningDesc("undeclared-selector","",Severity.minor),
"undef":OfficialWarningDesc("undef","",Severity.minor),
"undef-prefix":OfficialWarningDesc("undef-prefix","",Severity.minor),
"undefined-bool-conversion":OfficialWarningDesc("undefined-bool-conversion","",Severity.minor),
"undefined-func-template":OfficialWarningDesc("undefined-func-template","",Severity.minor),
"undefined-inline":OfficialWarningDesc("undefined-inline","",Severity.minor),
"undefined-internal":OfficialWarningDesc("undefined-internal","",Severity.minor),
"undefined-internal-type":OfficialWarningDesc("undefined-internal-type","",Severity.minor),
"undefined-reinterpret-cast":OfficialWarningDesc("undefined-reinterpret-cast","",Severity.minor),
"undefined-var-template":OfficialWarningDesc("undefined-var-template","",Severity.minor),
"underaligned-exception-object":OfficialWarningDesc("underaligned-exception-object","",Severity.minor),
"unevaluated-expression":OfficialWarningDesc("unevaluated-expression","",Severity.minor),
"unguarded-availability":OfficialWarningDesc("unguarded-availability","",Severity.minor),
"unguarded-availability-new":OfficialWarningDesc("unguarded-availability-new","",Severity.minor),
"unicode":OfficialWarningDesc("unicode","",Severity.minor),
"unicode-homoglyph":OfficialWarningDesc("unicode-homoglyph","",Severity.minor),
"unicode-whitespace":OfficialWarningDesc("unicode-whitespace","",Severity.minor),
"unicode-zero-width":OfficialWarningDesc("unicode-zero-width","",Severity.minor),
"uninitialized":OfficialWarningDesc("uninitialized","",Severity.major),
"uninitialized-const-reference":OfficialWarningDesc("uninitialized-const-reference","",Severity.major),
"unknown-argument":OfficialWarningDesc("unknown-argument","",Severity.minor),
"unknown-assumption":OfficialWarningDesc("unknown-assumption","",Severity.minor),
"unknown-attributes":OfficialWarningDesc("unknown-attributes","",Severity.minor),
"unknown-cuda-version":OfficialWarningDesc("unknown-cuda-version","",Severity.minor),
"unknown-directives":OfficialWarningDesc("unknown-directives","",Severity.minor),
"unknown-escape-sequence":OfficialWarningDesc("unknown-escape-sequence","",Severity.minor),
"unknown-pragmas":OfficialWarningDesc("unknown-pragmas","",Severity.minor),
"unknown-sanitizers":OfficialWarningDesc("unknown-sanitizers","",Severity.minor),
"unknown-warning-option":OfficialWarningDesc("unknown-warning-option","",Severity.minor),
"unnamed-type-template-args":OfficialWarningDesc("unnamed-type-template-args","",Severity.minor),
"unneeded-internal-declaration":OfficialWarningDesc("unneeded-internal-declaration","",Severity.minor),
"unneeded-member-function":OfficialWarningDesc("unneeded-member-function","",Severity.minor),
"unqualified-std-cast-call":OfficialWarningDesc("unqualified-std-cast-call","",Severity.minor),
"unreachable-code":OfficialWarningDesc("unreachable-code","",Severity.minor),
"unreachable-code-aggressive":OfficialWarningDesc("unreachable-code-aggressive","",Severity.minor),
"unreachable-code-break":OfficialWarningDesc("unreachable-code-break","",Severity.minor),
"unreachable-code-fallthrough":OfficialWarningDesc("unreachable-code-fallthrough","",Severity.minor),
"unreachable-code-generic-assoc":OfficialWarningDesc("unreachable-code-generic-assoc","",Severity.minor),
"unreachable-code-loop-increment":OfficialWarningDesc("unreachable-code-loop-increment","",Severity.minor),
"unreachable-code-return":OfficialWarningDesc("unreachable-code-return","",Severity.minor),
"unsequenced":OfficialWarningDesc("unsequenced","",Severity.minor),
"unsupported-abi":OfficialWarningDesc("unsupported-abi","",Severity.minor),
"unsupported-abs":OfficialWarningDesc("unsupported-abs","",Severity.minor),
"unsupported-availability-guard":OfficialWarningDesc("unsupported-availability-guard","",Severity.minor),
"unsupported-cb":OfficialWarningDesc("unsupported-cb","",Severity.minor),
"unsupported-dll-base-class-template":OfficialWarningDesc("unsupported-dll-base-class-template","",Severity.minor),
"unsupported-floating-point-opt":OfficialWarningDesc("unsupported-floating-point-opt","",Severity.minor),
"unsupported-friend":OfficialWarningDesc("unsupported-friend","",Severity.minor),
"unsupported-gpopt":OfficialWarningDesc("unsupported-gpopt","",Severity.minor),
"unsupported-nan":OfficialWarningDesc("unsupported-nan","",Severity.minor),
"unsupported-target-opt":OfficialWarningDesc("unsupported-target-opt","",Severity.minor),
"unsupported-visibility":OfficialWarningDesc("unsupported-visibility","",Severity.minor),
"unusable-partial-specialization":OfficialWarningDesc("unusable-partial-specialization","",Severity.minor),
"unused":OfficialWarningDesc("unused","",Severity.minor),
"unused-argument":OfficialWarningDesc("unused-argument","",Severity.minor),
"unused-but-set-parameter":OfficialWarningDesc("unused-but-set-parameter","",Severity.minor),
"unused-but-set-variable":OfficialWarningDesc("unused-but-set-variable","",Severity.minor),
"unused-command-line-argument":OfficialWarningDesc("unused-command-line-argument","",Severity.minor),
"unused-comparison":OfficialWarningDesc("unused-comparison","",Severity.minor),
"unused-const-variable":OfficialWarningDesc("unused-const-variable","",Severity.minor),
"unused-exception-parameter":OfficialWarningDesc("unused-exception-parameter","",Severity.minor),
"unused-function":OfficialWarningDesc("unused-function","",Severity.minor),
"unused-getter-return-value":OfficialWarningDesc("unused-getter-return-value","",Severity.minor),
"unused-label":OfficialWarningDesc("unused-label","",Severity.minor),
"unused-lambda-capture":OfficialWarningDesc("unused-lambda-capture","",Severity.minor),
"unused-local-typedef":OfficialWarningDesc("unused-local-typedef","",Severity.minor),
"unused-local-typedefs":OfficialWarningDesc("unused-local-typedefs","",Severity.minor),
"unused-macros":OfficialWarningDesc("unused-macros","",Severity.minor),
"unused-member-function":OfficialWarningDesc("unused-member-function","",Severity.minor),
"unused-parameter":OfficialWarningDesc("unused-parameter","",Severity.minor),
"unused-private-field":OfficialWarningDesc("unused-private-field","",Severity.minor),
"unused-property-ivar":OfficialWarningDesc("unused-property-ivar","",Severity.minor),
"unused-result":OfficialWarningDesc("unused-result","",Severity.minor),
"unused-template":OfficialWarningDesc("unused-template","",Severity.minor),
"unused-value":OfficialWarningDesc("unused-value","",Severity.minor),
"unused-variable":OfficialWarningDesc("unused-variable","",Severity.minor),
"unused-volatile-lvalue":OfficialWarningDesc("unused-volatile-lvalue","",Severity.minor),
"used-but-marked-unused":OfficialWarningDesc("used-but-marked-unused","",Severity.minor),
"user-defined-literals":OfficialWarningDesc("user-defined-literals","",Severity.minor),
"user-defined-warnings":OfficialWarningDesc("user-defined-warnings","",Severity.minor),
"varargs":OfficialWarningDesc("varargs","",Severity.minor),
"variadic-macros":OfficialWarningDesc("variadic-macros","",Severity.minor),
"vec-elem-size":OfficialWarningDesc("vec-elem-size","",Severity.minor),
"vector-conversion":OfficialWarningDesc("vector-conversion","",Severity.minor),
"vector-conversions":OfficialWarningDesc("vector-conversions","",Severity.minor),
"vexing-parse":OfficialWarningDesc("vexing-parse","",Severity.minor),
"visibility":OfficialWarningDesc("visibility","",Severity.minor),
"vla":OfficialWarningDesc("vla","",Severity.minor),
"vla-extension":OfficialWarningDesc("vla-extension","",Severity.minor),
"void-pointer-to-enum-cast":OfficialWarningDesc("void-pointer-to-enum-cast","",Severity.minor),
"void-pointer-to-int-cast":OfficialWarningDesc("void-pointer-to-int-cast","",Severity.minor),
"void-ptr-dereference":OfficialWarningDesc("void-ptr-dereference","",Severity.minor),
"volatile-register-var":OfficialWarningDesc("volatile-register-var","",Severity.minor),
"wasm-exception-spec":OfficialWarningDesc("wasm-exception-spec","",Severity.minor),
"weak-template-vtables":OfficialWarningDesc("weak-template-vtables","",Severity.minor),
"weak-vtables":OfficialWarningDesc("weak-vtables","",Severity.minor),
"writable-strings":OfficialWarningDesc("writable-strings","",Severity.minor),
"write-strings":OfficialWarningDesc("write-strings","",Severity.minor),
"xor-used-as-pow":OfficialWarningDesc("xor-used-as-pow","",Severity.minor),
"zero-as-null-pointer-constant":OfficialWarningDesc("zero-as-null-pointer-constant","",Severity.minor),
"zero-length-array":OfficialWarningDesc("zero-length-array","",Severity.minor)
}
#examples without warning group:
# C:\GitLab-Runner\builds\ws9oib44\0\group\project\Core\file.cpp(499,24): C++ warning : format specifies type 'int' but the argument has type 'unsigned long'
# ..\..\..\Core\ExternalLibraries\lib\src-windows\include\file.h(254,8): C++ warning : 'IP_STATS' macro redefined
#examples with warning group:
# ..\..\..\Core\EEE/CCC/CCC.h(357,8): C++ warning : 'dllimport' attribute only applies to variables, functions and classes [-Wignored-attributes]"
class EmbarcaderoClangLineParser(LineParser):
#notice the use of the "MatchFirst (|)" expression. This will try to match with the warning group first, if that fails,
#we will just try to match the rest of line (without warning group)
grammar = pp.SkipTo(POSITIONINFO)("file") \
+ POSITIONINFO("pos") + pp.Literal("C++ warning") + COLON + pp.White() \
+ (pp.SkipTo(CLANGWARNINGGROUP("warningid") + pp.LineEnd(), include=True)("message") | pp.restOfLine()("message"))
def setGrammar(self, grammar):
self.grammar = grammar
def setLine(self, rawline):
self.rawline = rawline
def parseLine(self):
try:
self.matches = self.grammar.parseString(self.rawline)
except:
self.matches = None
def getWarningObject(self):
warningobj = None
if (self.matches != None):
warningobj = Warning()
try:
pos = self.matches["pos"]
warningobj.linenumber = int(pos[0])
if len(self.matches["pos"]) == 2:
warningobj.colnumber = int(pos[1])
warningobj.warningmessage = self.matches["message"].strip()
warningobj.fullpath = Path(self.matches["file"])
except:
print("Error: Parser failed to match on line: {0}".format(self.rawline))
try: