@@ -1923,6 +1923,8 @@ coroutines.cpp:
19231923# 87| <params>:
19241924# 87| getEntryPoint(): [BlockStmt] { ... }
19251925#-----| getStmt(0): [DeclStmt] declaration
1926+ # 87| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
1927+ # 87| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
19261928#-----| getStmt(1): [TryStmt] try { ... }
19271929#-----| getStmt(): [BlockStmt] { ... }
19281930#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2115,7 +2117,15 @@ coroutines.cpp:
21152117# 91| Type = [IntType] int
21162118# 91| getEntryPoint(): [BlockStmt] { ... }
21172119#-----| 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)
21182126#-----| getStmt(1): [DeclStmt] declaration
2127+ # 91| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2128+ # 91| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
21192129#-----| getStmt(2): [TryStmt] try { ... }
21202130#-----| getStmt(): [BlockStmt] { ... }
21212131#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2209,7 +2219,7 @@ coroutines.cpp:
22092219#-----| getQualifier(): [VariableAccess] (unnamed local variable)
22102220#-----| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
22112221#-----| ValueCategory = lvalue
2212- # 92| getArgument(0): [VariableAccess] variable access
2222+ # 92| getArgument(0): [VariableAccess] i
22132223# 92| Type = [IntType] int
22142224# 92| ValueCategory = prvalue(load)
22152225#-----| getStmt(2): [GotoStmt] goto ...
@@ -2311,7 +2321,15 @@ coroutines.cpp:
23112321# 95| Type = [IntType] int
23122322# 95| getEntryPoint(): [BlockStmt] { ... }
23132323#-----| 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)
23142330#-----| getStmt(1): [DeclStmt] declaration
2331+ # 95| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2332+ # 95| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
23152333#-----| getStmt(2): [TryStmt] try { ... }
23162334#-----| getStmt(): [BlockStmt] { ... }
23172335#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2408,7 +2426,7 @@ coroutines.cpp:
24082426# 96| getQualifier(): [VariableAccess] (unnamed local variable)
24092427# 96| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
24102428# 96| ValueCategory = lvalue
2411- # 96| getArgument(0): [VariableAccess] variable access
2429+ # 96| getArgument(0): [VariableAccess] i
24122430# 96| Type = [IntType] int
24132431# 96| ValueCategory = prvalue(load)
24142432# 96| getChild(1): [FunctionCall] call to await_ready
@@ -2426,7 +2444,7 @@ coroutines.cpp:
24262444# 96| getQualifier(): [VariableAccess] (unnamed local variable)
24272445# 96| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
24282446# 96| ValueCategory = lvalue
2429- # 96| getArgument(0): [VariableAccess] variable access
2447+ # 96| getArgument(0): [VariableAccess] i
24302448# 96| Type = [IntType] int
24312449# 96| ValueCategory = prvalue(load)
24322450# 96| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -2581,7 +2599,15 @@ coroutines.cpp:
25812599# 99| Type = [IntType] int
25822600# 99| getEntryPoint(): [BlockStmt] { ... }
25832601#-----| 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)
25842608#-----| getStmt(1): [DeclStmt] declaration
2609+ # 99| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2610+ # 99| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
25852611#-----| getStmt(2): [TryStmt] try { ... }
25862612#-----| getStmt(): [BlockStmt] { ... }
25872613#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2678,7 +2704,7 @@ coroutines.cpp:
26782704# 100| getQualifier(): [VariableAccess] (unnamed local variable)
26792705# 100| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
26802706# 100| ValueCategory = lvalue
2681- # 100| getArgument(0): [VariableAccess] variable access
2707+ # 100| getArgument(0): [VariableAccess] i
26822708# 100| Type = [IntType] int
26832709# 100| ValueCategory = prvalue(load)
26842710# 100| getChild(1): [FunctionCall] call to await_ready
@@ -2696,7 +2722,7 @@ coroutines.cpp:
26962722# 100| getQualifier(): [VariableAccess] (unnamed local variable)
26972723# 100| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
26982724# 100| ValueCategory = lvalue
2699- # 100| getArgument(0): [VariableAccess] variable access
2725+ # 100| getArgument(0): [VariableAccess] i
27002726# 100| Type = [IntType] int
27012727# 100| ValueCategory = prvalue(load)
27022728# 100| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -2843,7 +2869,15 @@ coroutines.cpp:
28432869# 103| Type = [IntType] int
28442870# 103| getEntryPoint(): [BlockStmt] { ... }
28452871#-----| 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)
28462878#-----| getStmt(1): [DeclStmt] declaration
2879+ # 103| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
2880+ # 103| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
28472881#-----| getStmt(2): [TryStmt] try { ... }
28482882#-----| getStmt(): [BlockStmt] { ... }
28492883#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -2940,7 +2974,7 @@ coroutines.cpp:
29402974# 104| getQualifier(): [VariableAccess] (unnamed local variable)
29412975# 104| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
29422976# 104| ValueCategory = lvalue
2943- # 104| getArgument(0): [VariableAccess] variable access
2977+ # 104| getArgument(0): [VariableAccess] i
29442978# 104| Type = [IntType] int
29452979# 104| ValueCategory = prvalue(load)
29462980# 104| getChild(1): [FunctionCall] call to await_ready
@@ -2958,7 +2992,7 @@ coroutines.cpp:
29582992# 104| getQualifier(): [VariableAccess] (unnamed local variable)
29592993# 104| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
29602994# 104| ValueCategory = lvalue
2961- # 104| getArgument(0): [VariableAccess] variable access
2995+ # 104| getArgument(0): [VariableAccess] i
29622996# 104| Type = [IntType] int
29632997# 104| ValueCategory = prvalue(load)
29642998# 104| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -3113,7 +3147,15 @@ coroutines.cpp:
31133147# 108| Type = [IntType] int
31143148# 108| getEntryPoint(): [BlockStmt] { ... }
31153149#-----| 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)
31163156#-----| getStmt(1): [DeclStmt] declaration
3157+ # 108| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (unnamed local variable)
3158+ # 108| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
31173159#-----| getStmt(2): [TryStmt] try { ... }
31183160#-----| getStmt(): [BlockStmt] { ... }
31193161#-----| getStmt(0): [ExprStmt] ExprStmt
@@ -3210,7 +3252,7 @@ coroutines.cpp:
32103252# 109| getQualifier(): [VariableAccess] (unnamed local variable)
32113253# 109| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
32123254# 109| ValueCategory = lvalue
3213- # 109| getArgument(0): [VariableAccess] variable access
3255+ # 109| getArgument(0): [VariableAccess] i
32143256# 109| Type = [IntType] int
32153257# 109| ValueCategory = prvalue(load)
32163258# 109| getChild(1): [FunctionCall] call to await_ready
@@ -3228,7 +3270,7 @@ coroutines.cpp:
32283270# 109| getQualifier(): [VariableAccess] (unnamed local variable)
32293271# 109| Type = [NestedTypedefType,UsingAliasTypedefType] promise_type
32303272# 109| ValueCategory = lvalue
3231- # 109| getArgument(0): [VariableAccess] variable access
3273+ # 109| getArgument(0): [VariableAccess] i
32323274# 109| Type = [IntType] int
32333275# 109| ValueCategory = prvalue(load)
32343276# 109| getOperand().getFullyConverted(): [TemporaryObjectExpr] temporary object
@@ -3287,7 +3329,7 @@ coroutines.cpp:
32873329# 110| getArgument(0): [AddExpr] ... + ...
32883330# 110| Type = [IntType] int
32893331# 110| ValueCategory = prvalue
3290- # 110| getLeftOperand(): [VariableAccess] variable access
3332+ # 110| getLeftOperand(): [VariableAccess] i
32913333# 110| Type = [IntType] int
32923334# 110| ValueCategory = prvalue(load)
32933335# 110| getRightOperand(): [Literal] 1
0 commit comments