@@ -207,34 +207,35 @@ bad_asts.cpp:
207207# 27| Type = [SpecifiedType] const Point
208208# 27| ValueCategory = lvalue
209209# 28| getStmt(1): [ReturnStmt] return ...
210- # 30| [TopLevelFunction] void Bad::errorExpr()
211- # 30| <params>:
212- # 30| getEntryPoint(): [BlockStmt] { ... }
213- # 31| getStmt(0): [DeclStmt] declaration
214- # 31| getDeclarationEntry(0): [VariableDeclarationEntry] definition of intref
215- # 31| Type = [LValueReferenceType] int &
216- # 31| getVariable().getInitializer(): [Initializer] initializer for intref
217- # 31| getExpr(): [ErrorExpr] <error expr>
218- # 31| Type = [ErroneousType] error
219- # 31| ValueCategory = prvalue
220- # 32| getStmt(1): [DeclStmt] declaration
221- # 32| getDeclarationEntry(0): [VariableDeclarationEntry] definition of x
222- # 32| Type = [IntType] int
223- # 32| getVariable().getInitializer(): [Initializer] initializer for x
224- # 32| getExpr(): [ErrorExpr] <error expr>
225- # 32| Type = [ErroneousType] error
226- # 32| ValueCategory = prvalue
227- # 33| getStmt(2): [ExprStmt] ExprStmt
228- # 33| getExpr(): [AssignExpr] ... = ...
229- # 33| Type = [IntType] int
230- # 33| ValueCategory = lvalue
231- # 33| getLValue(): [VariableAccess] x
232- # 33| Type = [IntType] int
233- # 33| ValueCategory = lvalue
234- # 33| getRValue(): [ErrorExpr] <error expr>
235- # 33| Type = [ErroneousType] error
236- # 33| ValueCategory = prvalue(load)
237- # 34| getStmt(3): [ReturnStmt] return ...
210+ bad_stmts.cpp:
211+ # 5| [TopLevelFunction] void Bad::errorExpr()
212+ # 5| <params>:
213+ # 5| getEntryPoint(): [BlockStmt] { ... }
214+ # 6| getStmt(0): [DeclStmt] declaration
215+ # 6| getDeclarationEntry(0): [VariableDeclarationEntry] definition of intref
216+ # 6| Type = [LValueReferenceType] int &
217+ # 6| getVariable().getInitializer(): [Initializer] initializer for intref
218+ # 6| getExpr(): [ErrorExpr] <error expr>
219+ # 6| Type = [ErroneousType] error
220+ # 6| ValueCategory = prvalue
221+ # 7| getStmt(1): [DeclStmt] declaration
222+ # 7| getDeclarationEntry(0): [VariableDeclarationEntry] definition of x
223+ # 7| Type = [IntType] int
224+ # 7| getVariable().getInitializer(): [Initializer] initializer for x
225+ # 7| getExpr(): [ErrorExpr] <error expr>
226+ # 7| Type = [ErroneousType] error
227+ # 7| ValueCategory = prvalue
228+ # 8| getStmt(2): [ExprStmt] ExprStmt
229+ # 8| getExpr(): [AssignExpr] ... = ...
230+ # 8| Type = [IntType] int
231+ # 8| ValueCategory = lvalue
232+ # 8| getLValue(): [VariableAccess] x
233+ # 8| Type = [IntType] int
234+ # 8| ValueCategory = lvalue
235+ # 8| getRValue(): [ErrorExpr] <error expr>
236+ # 8| Type = [ErroneousType] error
237+ # 8| ValueCategory = prvalue(load)
238+ # 9| getStmt(3): [ReturnStmt] return ...
238239clang.cpp:
239240# 5| [TopLevelFunction] int* globalIntAddress()
240241# 5| <params>:
0 commit comments