Skip to content

Commit 4c4ebd9

Browse files
committed
C++: Update more expected test results
1 parent a3ae304 commit 4c4ebd9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cpp/ql/test/examples/expressions/PrintAST.expected

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,24 @@ ConditionDecl.cpp:
105105
# 3| getVariableAccess(): [VariableAccess] k
106106
# 3| Type = [IntType] int
107107
# 3| ValueCategory = prvalue(load)
108+
# 3| getInitializingExpr(): [LTExpr] ... < ...
109+
# 3| Type = [BoolType] bool
110+
# 3| ValueCategory = prvalue
111+
# 3| getLesserOperand(): [VariableAccess] j
112+
# 3| Type = [IntType] int
113+
# 3| ValueCategory = prvalue(load)
114+
# 3| getGreaterOperand(): [Literal] 5
115+
# 3| Type = [IntType] int
116+
# 3| Value = [Literal] 5
117+
# 3| ValueCategory = prvalue
108118
# 3| getVariableAccess().getFullyConverted(): [CStyleCast] (bool)...
109119
# 3| Conversion = [BoolConversion] conversion to bool
110120
# 3| Type = [BoolType] bool
111121
# 3| ValueCategory = prvalue
122+
# 3| getInitializingExpr().getFullyConverted(): [CStyleCast] (int)...
123+
# 3| Conversion = [IntegralConversion] integral conversion
124+
# 3| Type = [IntType] int
125+
# 3| ValueCategory = prvalue
112126
# 3| getStmt(): [BlockStmt] { ... }
113127
# 5| getStmt(2): [ReturnStmt] return ...
114128
ConstructorCall.cpp:

0 commit comments

Comments
 (0)