Skip to content

Commit 7658a87

Browse files
committed
C++: Update expected test results
1 parent 0640c0d commit 7658a87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpp/ql/test/library-tests/ir/ir/PrintAST.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24309,7 +24309,7 @@ ir.cpp:
2430924309
# 2727| getArrayBase(): [VariableAccess] x
2431024310
# 2727| Type = [SpecifiedType] const WithBracketOperator
2431124311
# 2727| ValueCategory = lvalue
24312-
# 2727| getArrayOffset(): [VariableAccess] i
24312+
# 2727| getArrayOffset(0): [VariableAccess] i
2431324313
# 2727| Type = [IntType] int
2431424314
# 2727| ValueCategory = prvalue(load)
2431524315
# 2727| getExpr().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)

cpp/ql/test/library-tests/subscript_operator/PrintAST.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ test.cpp:
5959
# 11| getArrayBase(): [VariableAccess] s
6060
# 11| Type = [Struct] S
6161
# 11| ValueCategory = lvalue
62-
# 11| getArrayOffset(): [Literal] 1
62+
# 11| getArrayOffset(0): [Literal] 1
6363
# 11| Type = [IntType] int
6464
# 11| Value = [Literal] 1
6565
# 11| ValueCategory = prvalue
66-
# 11| getArgument(1): [Literal] 2
66+
# 11| getArrayOffset(1): [Literal] 2
6767
# 11| Type = [IntType] int
6868
# 11| Value = [Literal] 2
6969
# 11| ValueCategory = prvalue

0 commit comments

Comments
 (0)