diff --git a/cpp/ql/lib/semmlecode.cpp.dbscheme.stats b/cpp/ql/lib/semmlecode.cpp.dbscheme.stats
index 6ab07086478..3fc3d71e7a5 100644
--- a/cpp/ql/lib/semmlecode.cpp.dbscheme.stats
+++ b/cpp/ql/lib/semmlecode.cpp.dbscheme.stats
@@ -4,14 +4,14 @@
@compilation
9948
-
- @external_package
- 4
-
@externalDataElement
65
+
+ @external_package
+ 4
+
@svnentry
575525
@@ -20,6 +20,14 @@
@location_stmt
3813503
+
+ @location_default
+ 29655056
+
+
+ @location_expr
+ 13165921
+
@diagnostic
72092
@@ -32,17 +40,9 @@
@folder
15274
-
- @location_default
- 29655056
-
-
- @location_expr
- 13165921
-
@macroinvocation
- 33818017
+ 33818123
@function
@@ -52,6 +52,10 @@
@fun_decl
4995583
+
+ @var_decl
+ 8391080
+
@type_decl
3240440
@@ -68,10 +72,6 @@
@static_assert
130562
-
- @var_decl
- 8391080
-
@parameter
6536424
@@ -86,7 +86,7 @@
@localvariable
- 581169
+ 581177
@enumconstant
@@ -130,19 +130,19 @@
@gnuattribute
- 653549
+ 680858
@stdattribute
- 468565
+ 493039
@alignas
- 8794
+ 9719
@declspec
- 239199
+ 243695
@msattribute
@@ -150,7 +150,7 @@
@attribute_arg_token
- 24994
+ 38879
@attribute_arg_type
@@ -158,7 +158,7 @@
@attribute_arg_constant_expr
- 322609
+ 367506
@attribute_arg_empty
@@ -172,14 +172,14 @@
@derivation
368264
-
- @frienddecl
- 716133
-
@comment
8773472
+
+ @frienddecl
+ 716133
+
@namespace
12497
@@ -190,7 +190,7 @@
@namequalifier
- 1536058
+ 1533107
@value
@@ -198,176 +198,12 @@
@initialiser
- 1733596
+ 1699581
@lambdacapture
27771
-
- @stmt_expr
- 1483542
-
-
- @stmt_if
- 724702
-
-
- @stmt_while
- 30109
-
-
- @stmt_label
- 53054
-
-
- @stmt_return
- 1285345
-
-
- @stmt_block
- 1423276
-
-
- @stmt_end_test_while
- 148628
-
-
- @stmt_for
- 61453
-
-
- @stmt_switch_case
- 209699
-
-
- @stmt_switch
- 20747
-
-
- @stmt_try_block
- 46934
-
-
- @stmt_decl
- 606536
-
-
- @stmt_empty
- 193311
-
-
- @stmt_continue
- 22525
-
-
- @stmt_break
- 102345
-
-
- @stmt_range_based_for
- 8331
-
-
- @stmt_handler
- 65331
-
-
- @stmt_constexpr_if
- 52504
-
-
- @stmt_goto
- 110508
-
-
- @stmt_asm
- 109773
-
-
- @stmt_microsoft_try
- 163
-
-
- @stmt_set_vla_size
- 26
-
-
- @stmt_vla_decl
- 22
-
-
- @stmt_assigned_goto
- 9060
-
-
- @stmt_co_return
- 2
-
-
- @delete_array_expr
- 1406
-
-
- @new_array_expr
- 5104
-
-
- @ctordirectinit
- 112980
-
-
- @ctorvirtualinit
- 6512
-
-
- @ctorfieldinit
- 201086
-
-
- @ctordelegatinginit
- 3352
-
-
- @dtordirectdestruct
- 41776
-
-
- @dtorvirtualdestruct
- 4128
-
-
- @dtorfielddestruct
- 41706
-
-
- @static_cast
- 210928
-
-
- @reinterpret_cast
- 30749
-
-
- @const_cast
- 35247
-
-
- @dynamic_cast
- 1037
-
-
- @c_style_cast
- 4209396
-
-
- @lambdaexpr
- 21291
-
-
- @param_ref
- 244969
-
@errorexpr
46893
@@ -570,7 +406,7 @@
@subscriptexpr
- 367580
+ 367585
@callexpr
@@ -660,6 +496,70 @@
@aggregateliteral
913874
+
+ @delete_array_expr
+ 1406
+
+
+ @new_array_expr
+ 5104
+
+
+ @ctordirectinit
+ 112980
+
+
+ @ctorvirtualinit
+ 6512
+
+
+ @ctorfieldinit
+ 201086
+
+
+ @ctordelegatinginit
+ 3352
+
+
+ @dtordirectdestruct
+ 41776
+
+
+ @dtorvirtualdestruct
+ 4128
+
+
+ @dtorfielddestruct
+ 41706
+
+
+ @static_cast
+ 210928
+
+
+ @reinterpret_cast
+ 30749
+
+
+ @const_cast
+ 35247
+
+
+ @dynamic_cast
+ 1037
+
+
+ @c_style_cast
+ 4209396
+
+
+ @lambdaexpr
+ 21291
+
+
+ @param_ref
+ 244969
+
@istrivialexpr
925
@@ -980,6 +880,110 @@
@builtinshuffle
1959
+
+ @blockassignexpr
+ 12
+
+
+ @stmt_expr
+ 1483542
+
+
+ @stmt_if
+ 724702
+
+
+ @stmt_while
+ 30109
+
+
+ @stmt_label
+ 53054
+
+
+ @stmt_return
+ 1285345
+
+
+ @stmt_block
+ 1423276
+
+
+ @stmt_end_test_while
+ 148628
+
+
+ @stmt_for
+ 61453
+
+
+ @stmt_switch_case
+ 209699
+
+
+ @stmt_switch
+ 20747
+
+
+ @stmt_try_block
+ 46934
+
+
+ @stmt_decl
+ 606538
+
+
+ @stmt_empty
+ 193314
+
+
+ @stmt_continue
+ 22525
+
+
+ @stmt_break
+ 102345
+
+
+ @stmt_range_based_for
+ 8331
+
+
+ @stmt_handler
+ 65331
+
+
+ @stmt_constexpr_if
+ 52504
+
+
+ @stmt_goto
+ 110508
+
+
+ @stmt_asm
+ 109773
+
+
+ @stmt_microsoft_try
+ 163
+
+
+ @stmt_set_vla_size
+ 26
+
+
+ @stmt_vla_decl
+ 22
+
+
+ @stmt_assigned_goto
+ 9060
+
+
+ @stmt_co_return
+ 2
+
@ppd_if
661418
@@ -1026,7 +1030,7 @@
@ppd_line
- 27755
+ 27756
@ppd_error
@@ -1668,7 +1672,7 @@
seconds
- 14239
+ 10051
@@ -1749,35 +1753,35 @@
3
4
- 279
+ 717
4
5
- 717
+ 279
- 6
- 9
+ 5
+ 8
159
- 9
+ 8
10
- 79
+ 119
10
11
- 119
+ 79
11
- 12
+ 13
159
- 14
+ 15
18
159
@@ -1788,7 +1792,7 @@
24
- 124
+ 94
159
@@ -1857,47 +1861,47 @@
3
4
- 598
+ 1156
4
5
- 1156
+ 598
5
6
- 199
+ 279
6
7
- 319
+ 239
7
8
- 199
+ 239
8
9
- 159
+ 199
9
- 12
+ 18
279
- 13
- 41
+ 23
+ 47
279
- 41
- 96
- 119
+ 88
+ 89
+ 39
@@ -1943,18 +1947,18 @@
12
- 4
- 5
+ 3
+ 4
79
- 177
- 178
+ 116
+ 117
39
- 179
- 180
+ 136
+ 137
39
@@ -1971,22 +1975,27 @@
1
2
- 9373
+ 5384
2
3
- 3510
+ 2153
3
- 5
- 1196
+ 4
+ 1515
- 5
- 46
- 159
+ 4
+ 6
+ 757
+
+
+ 6
+ 42
+ 239
@@ -2002,23 +2011,33 @@
1
2
- 8735
+ 4786
2
3
- 3589
+ 2233
3
4
- 1116
+ 1316
4
- 74
+ 5
+ 638
+
+
+ 5
+ 8
797
+
+ 8
+ 63
+ 279
+
@@ -2033,12 +2052,12 @@
1
2
- 14000
+ 9851
2
4
- 239
+ 199
@@ -2048,7 +2067,7 @@
diagnostic_for
- 889095
+ 889098
diagnostic
@@ -2417,7 +2436,7 @@
cpu_seconds
- 7688
+ 7769
elapsed_seconds
@@ -2472,12 +2491,12 @@
2
3
- 853
+ 1002
3
- 15
- 472
+ 16
+ 403
@@ -2493,12 +2512,12 @@
1
2
- 7123
+ 7262
2
3
- 564
+ 507
@@ -2514,56 +2533,61 @@
1
2
- 23
+ 34
2
3
- 34
+ 11
6
7
11
+
+ 7
+ 8
+ 11
+
8
9
11
- 12
- 13
+ 9
+ 10
11
- 21
- 22
+ 22
+ 23
11
- 46
- 47
+ 53
+ 54
11
- 135
- 136
+ 145
+ 146
11
- 158
- 159
+ 154
+ 155
11
- 232
- 233
+ 226
+ 227
11
- 237
- 238
+ 228
+ 229
11
@@ -2580,56 +2604,61 @@
1
2
- 23
+ 34
2
3
- 34
+ 11
6
7
11
+
+ 7
+ 8
+ 11
+
8
9
11
- 12
- 13
+ 9
+ 10
11
- 21
- 22
+ 22
+ 23
11
- 45
- 46
+ 52
+ 53
11
- 110
- 111
+ 109
+ 110
11
- 122
- 123
+ 128
+ 129
11
- 162
- 163
+ 170
+ 171
11
- 222
- 223
+ 202
+ 203
11
@@ -11352,7 +11381,7 @@
fileannotations
- 5237857
+ 5237874
id
@@ -11364,7 +11393,7 @@
name
- 55930
+ 55931
value
@@ -11603,7 +11632,7 @@
1
2
- 9048
+ 9049
2
@@ -11674,7 +11703,7 @@
1
2
- 55930
+ 55931
@@ -12001,7 +12030,7 @@
2
3
- 543235
+ 543239
3
@@ -12036,7 +12065,7 @@
11
337
- 224493
+ 224489
339
@@ -12194,19 +12223,19 @@
macroinvocations
- 33818017
+ 33818123
id
- 33818017
+ 33818123
macro_id
- 81175
+ 81176
location
- 776461
+ 776463
kind
@@ -12224,7 +12253,7 @@
1
2
- 33818017
+ 33818123
@@ -12240,7 +12269,7 @@
1
2
- 33818017
+ 33818123
@@ -12256,7 +12285,7 @@
1
2
- 33818017
+ 33818123
@@ -12312,12 +12341,12 @@
73
257
- 6097
+ 6098
257
5161
- 6097
+ 6098
5432
@@ -12405,7 +12434,7 @@
1
2
- 320046
+ 320047
2
@@ -12451,12 +12480,12 @@
1
2
- 729337
+ 729339
2
350
- 47123
+ 47124
@@ -12472,7 +12501,7 @@
1
2
- 776461
+ 776463
@@ -12545,15 +12574,15 @@
macroparent
- 30368148
+ 30368243
id
- 30368148
+ 30368243
parent_id
- 23632653
+ 23632727
@@ -12567,7 +12596,7 @@
1
2
- 30368148
+ 30368243
@@ -12583,17 +12612,17 @@
1
2
- 18259095
+ 18259152
2
3
- 4525350
+ 4525364
3
88
- 848207
+ 848210
@@ -12681,11 +12710,11 @@
macro_argument_unexpanded
- 85909146
+ 85909416
invocation
- 26486648
+ 26486731
argument_index
@@ -12693,7 +12722,7 @@
text
- 325037
+ 325038
@@ -12707,22 +12736,22 @@
1
2
- 7413109
+ 7413132
2
3
- 10827242
+ 10827276
3
4
- 6239771
+ 6239791
4
67
- 2006525
+ 2006531
@@ -12738,22 +12767,22 @@
1
2
- 7484094
+ 7484118
2
3
- 10976626
+ 10976660
3
4
- 6070745
+ 6070764
4
67
- 1955182
+ 1955188
@@ -12826,7 +12855,7 @@
2
3
- 65394
+ 65395
3
@@ -12866,7 +12895,7 @@
43
165
- 24391
+ 24392
165
@@ -12887,12 +12916,12 @@
1
2
- 235066
+ 235067
2
3
- 79469
+ 79470
3
@@ -12907,11 +12936,11 @@
macro_argument_expanded
- 85909146
+ 85909416
invocation
- 26486648
+ 26486731
argument_index
@@ -12919,7 +12948,7 @@
text
- 196979
+ 196980
@@ -12933,22 +12962,22 @@
1
2
- 7413109
+ 7413132
2
3
- 10827242
+ 10827276
3
4
- 6239771
+ 6239791
4
67
- 2006525
+ 2006531
@@ -12964,22 +12993,22 @@
1
2
- 10713329
+ 10713362
2
3
- 9344510
+ 9344539
3
4
- 5293039
+ 5293055
4
9
- 1135769
+ 1135773
@@ -13052,7 +13081,7 @@
2
3
- 41025
+ 41026
3
@@ -13118,7 +13147,7 @@
1
2
- 99688
+ 99689
2
@@ -13800,11 +13829,11 @@
member_function_this_type
- 554460
+ 553401
id
- 554460
+ 553401
this_type
@@ -13822,7 +13851,7 @@
1
2
- 554460
+ 553401
@@ -16430,7 +16459,7 @@
using_container
- 476668
+ 476670
parent
@@ -16438,7 +16467,7 @@
child
- 302247
+ 302248
@@ -16452,7 +16481,7 @@
1
2
- 3365
+ 3366
2
@@ -18082,11 +18111,11 @@
localvariables
- 581169
+ 581177
id
- 581169
+ 581177
type_id
@@ -18094,7 +18123,7 @@
name
- 91320
+ 91322
@@ -18108,7 +18137,7 @@
1
2
- 581169
+ 581177
@@ -18124,7 +18153,7 @@
1
2
- 581169
+ 581177
@@ -18145,7 +18174,7 @@
2
3
- 5408
+ 5412
3
@@ -18155,7 +18184,7 @@
4
7
- 3409
+ 3405
7
@@ -18181,7 +18210,7 @@
1
2
- 26970
+ 26975
2
@@ -18191,7 +18220,7 @@
3
5
- 2943
+ 2939
5
@@ -18217,12 +18246,12 @@
1
2
- 57518
+ 57519
2
3
- 14406
+ 14407
3
@@ -18253,7 +18282,7 @@
1
2
- 77144
+ 77145
2
@@ -20763,15 +20792,15 @@
typedefbase
- 1722225
+ 1722230
id
- 1722225
+ 1722230
type_id
- 809049
+ 809051
@@ -20785,7 +20814,7 @@
1
2
- 1722225
+ 1722230
@@ -20801,17 +20830,17 @@
1
2
- 629268
+ 629270
2
3
- 85025
+ 85026
3
6
- 63319
+ 63320
6
@@ -21628,11 +21657,11 @@
mangled_name
- 5184427
+ 5182113
id
- 5184427
+ 5182113
mangled_name
@@ -21650,7 +21679,7 @@
1
2
- 5184427
+ 5182113
@@ -21701,11 +21730,11 @@
is_pod_class
- 534132
+ 534134
id
- 534132
+ 534134
@@ -21745,11 +21774,11 @@
class_instantiation
- 1092104
+ 1092107
to
- 1090870
+ 1090874
from
@@ -21767,7 +21796,7 @@
1
2
- 1089729
+ 1089732
2
@@ -21838,11 +21867,11 @@
class_template_argument
- 2918536
+ 2918546
type_id
- 1329545
+ 1329549
index
@@ -21850,7 +21879,7 @@
arg_type
- 856542
+ 856544
@@ -21864,17 +21893,17 @@
1
2
- 544138
+ 544140
2
3
- 404518
+ 404520
3
4
- 235642
+ 235643
4
@@ -21900,12 +21929,12 @@
1
2
- 569833
+ 569834
2
3
- 416288
+ 416289
3
@@ -22023,7 +22052,7 @@
1
2
- 533452
+ 533454
2
@@ -22059,7 +22088,7 @@
1
2
- 755723
+ 755725
2
@@ -22605,11 +22634,11 @@
function_instantiation
- 907164
+ 907058
to
- 907164
+ 907058
from
@@ -22627,7 +22656,7 @@
1
2
- 907164
+ 907058
@@ -24568,11 +24597,11 @@
attributes
- 695736
+ 737258
id
- 695736
+ 737258
kind
@@ -24602,7 +24631,7 @@
1
2
- 695736
+ 737258
@@ -24618,7 +24647,7 @@
1
2
- 695736
+ 737258
@@ -24634,7 +24663,7 @@
1
2
- 695736
+ 737258
@@ -24650,7 +24679,7 @@
1
2
- 695736
+ 737258
@@ -24664,18 +24693,18 @@
12
- 4
- 5
+ 5
+ 6
104
- 2168
- 2169
+ 2330
+ 2331
104
- 4480
- 4481
+ 4714
+ 4715
104
@@ -24775,16 +24804,16 @@
4
5
- 209
+ 104
5
6
- 104
+ 209
- 9
- 10
+ 11
+ 12
104
@@ -24818,8 +24847,8 @@
104
- 659
- 660
+ 1053
+ 1054
104
@@ -24962,8 +24991,8 @@
104
- 6629
- 6630
+ 7026
+ 7027
104
@@ -25043,17 +25072,17 @@
1
2
- 442104
+ 425055
2
- 9
- 36815
+ 3
+ 37443
- 9
+ 3
201
- 4497
+ 20918
@@ -25116,11 +25145,11 @@
attribute_args
- 348066
+ 406848
id
- 348066
+ 406848
kind
@@ -25128,7 +25157,7 @@
attribute
- 267529
+ 295763
index
@@ -25150,7 +25179,7 @@
1
2
- 348066
+ 406848
@@ -25166,7 +25195,7 @@
1
2
- 348066
+ 406848
@@ -25182,7 +25211,7 @@
1
2
- 348066
+ 406848
@@ -25198,7 +25227,7 @@
1
2
- 348066
+ 406848
@@ -25217,13 +25246,13 @@
462
- 54
- 55
+ 84
+ 85
462
- 697
- 698
+ 794
+ 795
462
@@ -25243,13 +25272,13 @@
462
- 54
- 55
+ 84
+ 85
462
- 545
- 546
+ 606
+ 607
462
@@ -25313,17 +25342,17 @@
1
2
- 202730
+ 214301
2
3
- 49062
+ 51839
3
4
- 15737
+ 29622
@@ -25339,12 +25368,12 @@
1
2
- 257346
+ 271695
2
3
- 10182
+ 24068
@@ -25360,17 +25389,17 @@
1
2
- 202730
+ 214301
2
3
- 49062
+ 51839
3
4
- 15737
+ 29622
@@ -25386,17 +25415,17 @@
1
2
- 202730
+ 214301
2
3
- 49062
+ 51839
3
4
- 15737
+ 29622
@@ -25410,18 +25439,18 @@
12
- 34
- 35
+ 64
+ 65
462
- 140
- 141
+ 176
+ 177
462
- 578
- 579
+ 639
+ 640
462
@@ -25457,18 +25486,18 @@
12
- 34
- 35
+ 64
+ 65
462
- 140
- 141
+ 176
+ 177
462
- 578
- 579
+ 639
+ 640
462
@@ -25511,12 +25540,22 @@
1
2
- 311037
+ 276786
2
- 17
- 13885
+ 3
+ 23142
+
+
+ 3
+ 9
+ 24531
+
+
+ 17
+ 18
+ 462
@@ -25553,12 +25592,22 @@
1
2
- 311037
+ 276786
2
- 17
- 13885
+ 3
+ 23142
+
+
+ 3
+ 9
+ 24531
+
+
+ 17
+ 18
+ 462
@@ -25584,11 +25633,11 @@
attribute_arg_value
- 24994
+ 38879
arg
- 24994
+ 38879
value
@@ -25606,7 +25655,7 @@
1
2
- 24994
+ 38879
@@ -25626,7 +25675,7 @@
2
- 16
+ 34
1388
@@ -25786,7 +25835,7 @@
typeattributes
- 62440
+ 85973
type_id
@@ -25794,7 +25843,7 @@
spec_id
- 62440
+ 85973
@@ -25808,12 +25857,17 @@
1
2
- 61603
+ 55014
2
3
- 418
+ 5124
+
+
+ 3
+ 13
+ 1882
@@ -25829,7 +25883,7 @@
1
2
- 62440
+ 85973
@@ -25839,7 +25893,7 @@
funcattributes
- 629948
+ 647729
func_id
@@ -25847,7 +25901,7 @@
spec_id
- 629948
+ 647729
@@ -25861,12 +25915,12 @@
1
2
- 558408
+ 554120
2
7
- 33887
+ 38175
@@ -25882,7 +25936,7 @@
1
2
- 629948
+ 647729
@@ -25892,7 +25946,7 @@
varattributes
- 371048
+ 371880
var_id
@@ -25900,7 +25954,7 @@
spec_id
- 371048
+ 371880
@@ -25914,17 +25968,17 @@
1
2
- 273482
+ 273279
2
3
- 48762
+ 48804
- 14
- 15
- 3
+ 3
+ 62
+ 164
@@ -25940,7 +25994,7 @@
1
2
- 371048
+ 371880
@@ -26357,11 +26411,11 @@
enclosingfunction
- 121348
+ 121349
child
- 121348
+ 121349
parent
@@ -26379,7 +26433,7 @@
1
2
- 121348
+ 121349
@@ -28896,15 +28950,15 @@
namequalifiers
- 1536058
+ 1533107
id
- 1536058
+ 1533107
qualifiableelement
- 1536058
+ 1533107
qualifyingelement
@@ -28926,7 +28980,7 @@
1
2
- 1536058
+ 1533107
@@ -28942,7 +28996,7 @@
1
2
- 1536058
+ 1533107
@@ -28958,7 +29012,7 @@
1
2
- 1536058
+ 1533107
@@ -28974,7 +29028,7 @@
1
2
- 1536058
+ 1533107
@@ -28990,7 +29044,7 @@
1
2
- 1536058
+ 1533107
@@ -29006,7 +29060,7 @@
1
2
- 1536058
+ 1533107
@@ -29338,7 +29392,7 @@
fun
- 533842
+ 533823
@@ -29373,12 +29427,12 @@
1
2
- 329787
+ 329747
2
3
- 82184
+ 82204
3
@@ -30396,11 +30450,11 @@
initialisers
- 1733596
+ 1699581
init
- 1733596
+ 1699581
var
@@ -30408,7 +30462,7 @@
expr
- 1733596
+ 1699581
location
@@ -30426,7 +30480,7 @@
1
2
- 1733596
+ 1699581
@@ -30442,7 +30496,7 @@
1
2
- 1733596
+ 1699581
@@ -30458,7 +30512,7 @@
1
2
- 1733596
+ 1699581
@@ -30547,7 +30601,7 @@
1
2
- 1733596
+ 1699581
@@ -30563,7 +30617,7 @@
1
2
- 1733596
+ 1699581
@@ -30579,7 +30633,7 @@
1
2
- 1733596
+ 1699581
@@ -34778,11 +34832,11 @@
stmt_decl_bind
- 585099
+ 585107
stmt
- 544986
+ 544993
num
@@ -34790,7 +34844,7 @@
decl
- 584994
+ 585002
@@ -34804,12 +34858,12 @@
1
2
- 524125
+ 524132
2
19
- 20860
+ 20861
@@ -34825,12 +34879,12 @@
1
2
- 524125
+ 524132
2
19
- 20860
+ 20861
@@ -35028,7 +35082,7 @@
1
2
- 584956
+ 584964
2
@@ -35049,7 +35103,7 @@
1
2
- 584994
+ 585002
@@ -35059,11 +35113,11 @@
stmt_decl_entry_bind
- 527560
+ 527567
stmt
- 487748
+ 487755
num
@@ -35071,7 +35125,7 @@
decl_entry
- 527501
+ 527508
@@ -35085,7 +35139,7 @@
1
2
- 467152
+ 467158
2
@@ -35106,7 +35160,7 @@
1
2
- 467152
+ 467158
2
@@ -35309,7 +35363,7 @@
1
2
- 527480
+ 527487
3
@@ -35330,7 +35384,7 @@
1
2
- 527501
+ 527508