@@ -1923,6 +1923,8 @@ coroutines.cpp:
1923
1923
# 87| <params>:
1924
1924
# 87| getEntryPoint(): [BlockStmt] { ... }
1925
1925
#-----| getStmt(0): [DeclStmt] declaration
1926
+ # 87| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
1927
+ # 87| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
1926
1928
#-----| getStmt(1): [TryStmt] try { ... }
1927
1929
#-----| getStmt(): [BlockStmt] { ... }
1928
1930
#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2115,7 +2117,15 @@ coroutines.cpp:
2115
2117
# 91| Type = [IntType] int
2116
2118
# 91| getEntryPoint(): [BlockStmt] { ... }
2117
2119
#-----| getStmt(0): [DeclStmt] declaration
2120
+ #-----| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of i
2121
+ #-----| Type = [IntType] int
2122
+ #-----| getVariable().getInitializer(): [Initializer] initializer for i
2123
+ #-----| getExpr(): [VariableAccess] i
2124
+ #-----| Type = [IntType] int
2125
+ #-----| ValueCategory = prvalue(load)
2118
2126
#-----| getStmt(1): [DeclStmt] declaration
2127
+ # 91| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2128
+ # 91| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2119
2129
#-----| getStmt(2): [TryStmt] try { ... }
2120
2130
#-----| getStmt(): [BlockStmt] { ... }
2121
2131
#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2209,7 +2219,7 @@ coroutines.cpp:
2209
2219
#-----| getQualifier(): [VariableAccess] (unnamed local variable)
2210
2220
#-----| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2211
2221
#-----| ValueCategory = lvalue
2212
- # 92| getArgument(0): [VariableAccess] variable access
2222
+ # 92| getArgument(0): [VariableAccess] i
2213
2223
# 92| Type = [IntType] int
2214
2224
# 92| ValueCategory = prvalue(load)
2215
2225
#-----| getStmt(2): [GotoStmt] goto ...
@@ -2311,7 +2321,15 @@ coroutines.cpp:
2311
2321
# 95| Type = [IntType] int
2312
2322
# 95| getEntryPoint(): [BlockStmt] { ... }
2313
2323
#-----| getStmt(0): [DeclStmt] declaration
2324
+ #-----| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of i
2325
+ #-----| Type = [IntType] int
2326
+ #-----| getVariable().getInitializer(): [Initializer] initializer for i
2327
+ #-----| getExpr(): [VariableAccess] i
2328
+ #-----| Type = [IntType] int
2329
+ #-----| ValueCategory = prvalue(load)
2314
2330
#-----| getStmt(1): [DeclStmt] declaration
2331
+ # 95| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2332
+ # 95| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2315
2333
#-----| getStmt(2): [TryStmt] try { ... }
2316
2334
#-----| getStmt(): [BlockStmt] { ... }
2317
2335
#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2408,7 +2426,7 @@ coroutines.cpp:
2408
2426
# 96| getQualifier(): [VariableAccess] (unnamed local variable)
2409
2427
# 96| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2410
2428
# 96| ValueCategory = lvalue
2411
- # 96| getArgument(0): [VariableAccess] variable access
2429
+ # 96| getArgument(0): [VariableAccess] i
2412
2430
# 96| Type = [IntType] int
2413
2431
# 96| ValueCategory = prvalue(load)
2414
2432
# 96| getChild(1): [FunctionCall] call to await_ready
@@ -2426,7 +2444,7 @@ coroutines.cpp:
2426
2444
# 96| getQualifier(): [VariableAccess] (unnamed local variable)
2427
2445
# 96| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2428
2446
# 96| ValueCategory = lvalue
2429
- # 96| getArgument(0): [VariableAccess] variable access
2447
+ # 96| getArgument(0): [VariableAccess] i
2430
2448
# 96| Type = [IntType] int
2431
2449
# 96| ValueCategory = prvalue(load)
2432
2450
# 96| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -2581,7 +2599,15 @@ coroutines.cpp:
2581
2599
# 99| Type = [IntType] int
2582
2600
# 99| getEntryPoint(): [BlockStmt] { ... }
2583
2601
#-----| getStmt(0): [DeclStmt] declaration
2602
+ #-----| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of i
2603
+ #-----| Type = [IntType] int
2604
+ #-----| getVariable().getInitializer(): [Initializer] initializer for i
2605
+ #-----| getExpr(): [VariableAccess] i
2606
+ #-----| Type = [IntType] int
2607
+ #-----| ValueCategory = prvalue(load)
2584
2608
#-----| getStmt(1): [DeclStmt] declaration
2609
+ # 99| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2610
+ # 99| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2585
2611
#-----| getStmt(2): [TryStmt] try { ... }
2586
2612
#-----| getStmt(): [BlockStmt] { ... }
2587
2613
#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2678,7 +2704,7 @@ coroutines.cpp:
2678
2704
# 100| getQualifier(): [VariableAccess] (unnamed local variable)
2679
2705
# 100| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2680
2706
# 100| ValueCategory = lvalue
2681
- # 100| getArgument(0): [VariableAccess] variable access
2707
+ # 100| getArgument(0): [VariableAccess] i
2682
2708
# 100| Type = [IntType] int
2683
2709
# 100| ValueCategory = prvalue(load)
2684
2710
# 100| getChild(1): [FunctionCall] call to await_ready
@@ -2696,7 +2722,7 @@ coroutines.cpp:
2696
2722
# 100| getQualifier(): [VariableAccess] (unnamed local variable)
2697
2723
# 100| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2698
2724
# 100| ValueCategory = lvalue
2699
- # 100| getArgument(0): [VariableAccess] variable access
2725
+ # 100| getArgument(0): [VariableAccess] i
2700
2726
# 100| Type = [IntType] int
2701
2727
# 100| ValueCategory = prvalue(load)
2702
2728
# 100| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -2843,7 +2869,15 @@ coroutines.cpp:
2843
2869
# 103| Type = [IntType] int
2844
2870
# 103| getEntryPoint(): [BlockStmt] { ... }
2845
2871
#-----| getStmt(0): [DeclStmt] declaration
2872
+ #-----| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of i
2873
+ #-----| Type = [IntType] int
2874
+ #-----| getVariable().getInitializer(): [Initializer] initializer for i
2875
+ #-----| getExpr(): [VariableAccess] i
2876
+ #-----| Type = [IntType] int
2877
+ #-----| ValueCategory = prvalue(load)
2846
2878
#-----| getStmt(1): [DeclStmt] declaration
2879
+ # 103| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2880
+ # 103| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2847
2881
#-----| getStmt(2): [TryStmt] try { ... }
2848
2882
#-----| getStmt(): [BlockStmt] { ... }
2849
2883
#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2940,7 +2974,7 @@ coroutines.cpp:
2940
2974
# 104| getQualifier(): [VariableAccess] (unnamed local variable)
2941
2975
# 104| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2942
2976
# 104| ValueCategory = lvalue
2943
- # 104| getArgument(0): [VariableAccess] variable access
2977
+ # 104| getArgument(0): [VariableAccess] i
2944
2978
# 104| Type = [IntType] int
2945
2979
# 104| ValueCategory = prvalue(load)
2946
2980
# 104| getChild(1): [FunctionCall] call to await_ready
@@ -2958,7 +2992,7 @@ coroutines.cpp:
2958
2992
# 104| getQualifier(): [VariableAccess] (unnamed local variable)
2959
2993
# 104| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
2960
2994
# 104| ValueCategory = lvalue
2961
- # 104| getArgument(0): [VariableAccess] variable access
2995
+ # 104| getArgument(0): [VariableAccess] i
2962
2996
# 104| Type = [IntType] int
2963
2997
# 104| ValueCategory = prvalue(load)
2964
2998
# 104| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -3113,7 +3147,15 @@ coroutines.cpp:
3113
3147
# 108| Type = [IntType] int
3114
3148
# 108| getEntryPoint(): [BlockStmt] { ... }
3115
3149
#-----| getStmt(0): [DeclStmt] declaration
3150
+ #-----| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of i
3151
+ #-----| Type = [IntType] int
3152
+ #-----| getVariable().getInitializer(): [Initializer] initializer for i
3153
+ #-----| getExpr(): [VariableAccess] i
3154
+ #-----| Type = [IntType] int
3155
+ #-----| ValueCategory = prvalue(load)
3116
3156
#-----| getStmt(1): [DeclStmt] declaration
3157
+ # 108| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
3158
+ # 108| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
3117
3159
#-----| getStmt(2): [TryStmt] try { ... }
3118
3160
#-----| getStmt(): [BlockStmt] { ... }
3119
3161
#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -3210,7 +3252,7 @@ coroutines.cpp:
3210
3252
# 109| getQualifier(): [VariableAccess] (unnamed local variable)
3211
3253
# 109| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
3212
3254
# 109| ValueCategory = lvalue
3213
- # 109| getArgument(0): [VariableAccess] variable access
3255
+ # 109| getArgument(0): [VariableAccess] i
3214
3256
# 109| Type = [IntType] int
3215
3257
# 109| ValueCategory = prvalue(load)
3216
3258
# 109| getChild(1): [FunctionCall] call to await_ready
@@ -3228,7 +3270,7 @@ coroutines.cpp:
3228
3270
# 109| getQualifier(): [VariableAccess] (unnamed local variable)
3229
3271
# 109| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
3230
3272
# 109| ValueCategory = lvalue
3231
- # 109| getArgument(0): [VariableAccess] variable access
3273
+ # 109| getArgument(0): [VariableAccess] i
3232
3274
# 109| Type = [IntType] int
3233
3275
# 109| ValueCategory = prvalue(load)
3234
3276
# 109| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -3287,7 +3329,7 @@ coroutines.cpp:
3287
3329
# 110| getArgument(0): [AddExpr] ... + ...
3288
3330
# 110| Type = [IntType] int
3289
3331
# 110| ValueCategory = prvalue
3290
- # 110| getLeftOperand(): [VariableAccess] variable access
3332
+ # 110| getLeftOperand(): [VariableAccess] i
3291
3333
# 110| Type = [IntType] int
3292
3334
# 110| ValueCategory = prvalue(load)
3293
3335
# 110| getRightOperand(): [Literal] 1
0 commit comments