@@ -15030,25 +15030,28 @@ ir.cpp:
15030
15030
# 1999| Value = [Literal] 5
15031
15031
# 1999| ValueCategory = prvalue
15032
15032
# 2000| getStmt(3): [ExprStmt] ExprStmt
15033
- # 2000| getExpr(): [ConditionalExpr ] ... ? ... : ...
15033
+ # 2000| getExpr(): [AssignExpr ] ... = ...
15034
15034
# 2000| Type = [IntType] int
15035
15035
# 2000| ValueCategory = lvalue
15036
- # 2000| getCondition(): [VariableAccess] a
15037
- # 2000| Type = [BoolType] bool
15038
- # 2000| ValueCategory = prvalue(load)
15039
- # 2000| getThen(): [VariableAccess] x
15036
+ # 2000| getLValue(): [ConditionalExpr] ... ? ... : ...
15040
15037
# 2000| Type = [IntType] int
15041
15038
# 2000| ValueCategory = lvalue
15042
- # 2000| getElse (): [AssignExpr] ... = ...
15043
- # 2000| Type = [IntType] int
15044
- # 2000| ValueCategory = lvalue
15045
- # 2000| getLValue (): [VariableAccess] y
15039
+ # 2000| getCondition (): [VariableAccess] a
15040
+ # 2000| Type = [BoolType] bool
15041
+ # 2000| ValueCategory = prvalue(load)
15042
+ # 2000| getThen (): [VariableAccess] x
15046
15043
# 2000| Type = [IntType] int
15047
15044
# 2000| ValueCategory = lvalue
15048
- # 2000| getRValue (): [Literal] 7
15045
+ # 2000| getElse (): [VariableAccess] y
15049
15046
# 2000| Type = [IntType] int
15050
- # 2000| Value = [Literal] 7
15051
- # 2000| ValueCategory = prvalue
15047
+ # 2000| ValueCategory = lvalue
15048
+ # 2000| getRValue(): [Literal] 7
15049
+ # 2000| Type = [IntType] int
15050
+ # 2000| Value = [Literal] 7
15051
+ # 2000| ValueCategory = prvalue
15052
+ # 2000| getLValue().getFullyConverted(): [ParenthesisExpr] (...)
15053
+ # 2000| Type = [IntType] int
15054
+ # 2000| ValueCategory = lvalue
15052
15055
# 2001| getStmt(4): [ReturnStmt] return ...
15053
15056
# 2003| [CopyAssignmentOperator] TernaryPodObj& TernaryPodObj::operator=(TernaryPodObj const&)
15054
15057
# 2003| <params>:
@@ -15151,31 +15154,34 @@ ir.cpp:
15151
15154
# 2010| getExpr(): [AssignExpr] ... = ...
15152
15155
# 2010| Type = [Struct] TernaryPodObj
15153
15156
# 2010| ValueCategory = lvalue
15154
- # 2010| getLValue(): [VariableAccess] z
15157
+ # 2010| getLValue(): [AssignExpr] ... = ...
15155
15158
# 2010| Type = [Struct] TernaryPodObj
15156
15159
# 2010| ValueCategory = lvalue
15157
- # 2010| getRValue(): [ConditionalExpr] ... ? ... : ...
15158
- # 2010| Type = [Struct] TernaryPodObj
15159
- # 2010| ValueCategory = prvalue
15160
- # 2010| getCondition(): [VariableAccess] a
15161
- # 2010| Type = [BoolType] bool
15162
- # 2010| ValueCategory = prvalue(load)
15163
- # 2010| getThen(): [VariableAccess] x
15160
+ # 2010| getLValue(): [VariableAccess] z
15164
15161
# 2010| Type = [Struct] TernaryPodObj
15165
- # 2010| ValueCategory = prvalue(load)
15166
- # 2010| getElse (): [AssignExpr ] ... = ...
15162
+ # 2010| ValueCategory = lvalue
15163
+ # 2010| getRValue (): [ConditionalExpr ] ... ? ... : ...
15167
15164
# 2010| Type = [Struct] TernaryPodObj
15168
15165
# 2010| ValueCategory = prvalue
15169
- # 2010| getLValue (): [VariableAccess] y
15170
- # 2010| Type = [Struct] TernaryPodObj
15171
- # 2010| ValueCategory = lvalue
15172
- # 2010| getRValue (): [Literal] 0
15166
+ # 2010| getCondition (): [VariableAccess] a
15167
+ # 2010| Type = [BoolType] bool
15168
+ # 2010| ValueCategory = prvalue(load)
15169
+ # 2010| getThen (): [VariableAccess] x
15173
15170
# 2010| Type = [Struct] TernaryPodObj
15174
- # 2010| Value = [Literal] 0
15175
- # 2010| ValueCategory = prvalue
15176
- # 2010| getRValue().getFullyConverted(): [TemporaryObjectExpr] temporary object
15171
+ # 2010| ValueCategory = prvalue(load)
15172
+ # 2010| getElse(): [VariableAccess] y
15177
15173
# 2010| Type = [Struct] TernaryPodObj
15178
15174
# 2010| ValueCategory = prvalue(load)
15175
+ # 2010| getRValue(): [Literal] 0
15176
+ # 2010| Type = [Struct] TernaryPodObj
15177
+ # 2010| Value = [Literal] 0
15178
+ # 2010| ValueCategory = prvalue
15179
+ # 2010| getLValue().getFullyConverted(): [ParenthesisExpr] (...)
15180
+ # 2010| Type = [Struct] TernaryPodObj
15181
+ # 2010| ValueCategory = lvalue
15182
+ # 2010| getRValue().getFullyConverted(): [TemporaryObjectExpr] temporary object
15183
+ # 2010| Type = [Struct] TernaryPodObj
15184
+ # 2010| ValueCategory = prvalue(load)
15179
15185
# 2011| getStmt(4): [ReturnStmt] return ...
15180
15186
# 2013| [CopyAssignmentOperator] TernaryNonPodObj& TernaryNonPodObj::operator=(TernaryNonPodObj const&)
15181
15187
# 2013| <params>:
@@ -15339,38 +15345,38 @@ ir.cpp:
15339
15345
# 2021| getExpr(): [FunctionCall] call to operator=
15340
15346
# 2021| Type = [LValueReferenceType] TernaryNonPodObj &
15341
15347
# 2021| ValueCategory = prvalue
15342
- # 2021| getQualifier(): [VariableAccess] z
15343
- # 2021| Type = [Struct] TernaryNonPodObj
15344
- # 2021| ValueCategory = lvalue
15345
- # 2021| getArgument(0): [ConditionalExpr] ... ? ... : ...
15346
- # 2021| Type = [Struct] TernaryNonPodObj
15347
- # 2021| ValueCategory = lvalue
15348
- # 2021| getCondition(): [VariableAccess] a
15349
- # 2021| Type = [BoolType] bool
15350
- # 2021| ValueCategory = prvalue(load)
15351
- # 2021| getThen(): [VariableAccess] x
15348
+ # 2021| getQualifier(): [FunctionCall] call to operator=
15349
+ # 2021| Type = [LValueReferenceType] TernaryNonPodObj &
15350
+ # 2021| ValueCategory = prvalue
15351
+ # 2021| getQualifier(): [VariableAccess] z
15352
15352
# 2021| Type = [Struct] TernaryNonPodObj
15353
15353
# 2021| ValueCategory = lvalue
15354
- # 2021| getElse(): [FunctionCall] call to operator=
15355
- # 2021| Type = [LValueReferenceType] TernaryNonPodObj &
15356
- # 2021| ValueCategory = prvalue
15357
- # 2021| getQualifier(): [VariableAccess] y
15354
+ # 2021| getArgument(0): [ConditionalExpr] ... ? ... : ...
15355
+ # 2021| Type = [Struct] TernaryNonPodObj
15356
+ # 2021| ValueCategory = lvalue
15357
+ # 2021| getCondition(): [VariableAccess] a
15358
+ # 2021| Type = [BoolType] bool
15359
+ # 2021| ValueCategory = prvalue(load)
15360
+ # 2021| getThen(): [VariableAccess] x
15361
+ # 2021| Type = [Struct] TernaryNonPodObj
15362
+ # 2021| ValueCategory = lvalue
15363
+ # 2021| getElse(): [VariableAccess] y
15358
15364
# 2021| Type = [Struct] TernaryNonPodObj
15359
15365
# 2021| ValueCategory = lvalue
15360
- # 2021| getArgument(0): [ConstructorCall] call to TernaryNonPodObj
15361
- # 2021| Type = [VoidType] void
15362
- # 2021| ValueCategory = prvalue
15363
- # 2021| getArgument(0).getFullyConverted() : [ReferenceToExpr ] (reference to)
15364
- # 2021| Type = [LValueReferenceType] const TernaryNonPodObj &
15365
- # 2021| ValueCategory = prvalue
15366
- # 2021| getExpr(): [CStyleCast] (const TernaryNonPodObj)...
15367
- # 2021| Conversion = [GlvalueConversion] glvalue conversion
15368
- # 2021| Type = [SpecifiedType] const TernaryNonPodObj
15369
- # 2021| ValueCategory = lvalue
15370
- # 2021| getExpr() : [TemporaryObjectExpr] temporary object
15371
- # 2021| Type = [Struct] TernaryNonPodObj
15372
- # 2021| ValueCategory = lvalue
15373
- # 2021| getElse().getFullyConverted (): [ReferenceDereferenceExpr] (reference dereference)
15366
+ # 2021| getArgument(0).getFullyConverted() : [ReferenceToExpr] (reference to)
15367
+ # 2021| Type = [LValueReferenceType] const TernaryNonPodObj &
15368
+ # 2021| ValueCategory = prvalue
15369
+ # 2021| getExpr() : [CStyleCast ] (const TernaryNonPodObj)...
15370
+ # 2021| Conversion = [GlvalueConversion] glvalue conversion
15371
+ # 2021| Type = [SpecifiedType] const TernaryNonPodObj
15372
+ # 2021| ValueCategory = lvalue
15373
+ # 2021| getArgument(0): [ConstructorCall] call to TernaryNonPodObj
15374
+ # 2021| Type = [VoidType] void
15375
+ # 2021| ValueCategory = prvalue
15376
+ # 2021| getQualifier().getFullyConverted() : [ParenthesisExpr] (...)
15377
+ # 2021| Type = [Struct] TernaryNonPodObj
15378
+ # 2021| ValueCategory = lvalue
15379
+ # 2021| getExpr (): [ReferenceDereferenceExpr] (reference dereference)
15374
15380
# 2021| Type = [Struct] TernaryNonPodObj
15375
15381
# 2021| ValueCategory = lvalue
15376
15382
# 2021| getArgument(0).getFullyConverted(): [ReferenceToExpr] (reference to)
@@ -15380,6 +15386,9 @@ ir.cpp:
15380
15386
# 2021| Conversion = [GlvalueConversion] glvalue conversion
15381
15387
# 2021| Type = [SpecifiedType] const TernaryNonPodObj
15382
15388
# 2021| ValueCategory = lvalue
15389
+ # 2021| getExpr(): [TemporaryObjectExpr] temporary object
15390
+ # 2021| Type = [Struct] TernaryNonPodObj
15391
+ # 2021| ValueCategory = lvalue
15383
15392
# 2021| getExpr().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)
15384
15393
# 2021| Type = [Struct] TernaryNonPodObj
15385
15394
# 2021| ValueCategory = lvalue
0 commit comments