Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
235 changes: 0 additions & 235 deletions cpp/ql/test/library-tests/ir/ir/PrintAST.expected
Original file line number Diff line number Diff line change
Expand Up @@ -6591,238 +6591,3 @@ ir.cpp:
# 983| ValueCategory = prvalue(load)
# 983| 1: { ... }
# 985| 3: return ...
# 1005| int ChiPhiNode(Point*, bool, bool)
# 1005| params:
# 1005| 0: p
# 1005| Type = Point *
# 1005| 1: which1
# 1005| Type = bool
# 1005| 2: which2
# 1005| Type = bool
# 1005| body: { ... }
# 1006| 0: if (...) ...
# 1006| 0: which1
# 1006| Type = bool
# 1006| ValueCategory = prvalue(load)
# 1006| 1: { ... }
# 1007| 0: ExprStmt
# 1007| 0: ... ++
# 1007| Type = int
# 1007| ValueCategory = prvalue
# 1007| 0: x
# 1007| Type = int
# 1007| ValueCategory = lvalue
# 1007| -1: p
# 1007| Type = Point *
# 1007| ValueCategory = prvalue(load)
# 1008| 2: { ... }
# 1009| 0: ExprStmt
# 1009| 0: ... ++
# 1009| Type = int
# 1009| ValueCategory = prvalue
# 1009| 0: y
# 1009| Type = int
# 1009| ValueCategory = lvalue
# 1009| -1: p
# 1009| Type = Point *
# 1009| ValueCategory = prvalue(load)
# 1012| 1: if (...) ...
# 1012| 0: which2
# 1012| Type = bool
# 1012| ValueCategory = prvalue(load)
# 1012| 1: { ... }
# 1013| 0: ExprStmt
# 1013| 0: ... ++
# 1013| Type = int
# 1013| ValueCategory = prvalue
# 1013| 0: x
# 1013| Type = int
# 1013| ValueCategory = lvalue
# 1013| -1: p
# 1013| Type = Point *
# 1013| ValueCategory = prvalue(load)
# 1014| 2: { ... }
# 1015| 0: ExprStmt
# 1015| 0: ... ++
# 1015| Type = int
# 1015| ValueCategory = prvalue
# 1015| 0: y
# 1015| Type = int
# 1015| ValueCategory = lvalue
# 1015| -1: p
# 1015| Type = Point *
# 1015| ValueCategory = prvalue(load)
# 1018| 2: return ...
# 1018| 0: ... + ...
# 1018| Type = int
# 1018| ValueCategory = prvalue
# 1018| 0: x
# 1018| Type = int
# 1018| ValueCategory = prvalue(load)
# 1018| -1: p
# 1018| Type = Point *
# 1018| ValueCategory = prvalue(load)
# 1018| 1: y
# 1018| Type = int
# 1018| ValueCategory = prvalue(load)
# 1018| -1: p
# 1018| Type = Point *
# 1018| ValueCategory = prvalue(load)
# 1021| int UnreachableViaGoto()
# 1021| params:
# 1021| body: { ... }
# 1022| 0: goto ...
# 1023| 1: return ...
# 1023| 0: 1
# 1023| Type = int
# 1023| Value = 1
# 1023| ValueCategory = prvalue
# 1024| 2: label ...:
# 1025| 3: return ...
# 1025| 0: 0
# 1025| Type = int
# 1025| Value = 0
# 1025| ValueCategory = prvalue
# 1028| int UnreachableIf(bool)
# 1028| params:
# 1028| 0: b
# 1028| Type = bool
# 1028| body: { ... }
# 1029| 0: declaration
# 1029| 0: definition of x
# 1029| Type = int
# 1029| init: initializer for x
# 1029| expr: 5
# 1029| Type = int
# 1029| Value = 5
# 1029| ValueCategory = prvalue
# 1030| 1: declaration
# 1030| 0: definition of y
# 1030| Type = int
# 1030| init: initializer for y
# 1030| expr: 10
# 1030| Type = int
# 1030| Value = 10
# 1030| ValueCategory = prvalue
# 1031| 2: if (...) ...
# 1031| 0: b
# 1031| Type = bool
# 1031| ValueCategory = prvalue(load)
# 1031| 1: { ... }
# 1032| 0: if (...) ...
# 1032| 0: ... == ...
# 1032| Type = bool
# 1032| ValueCategory = prvalue
# 1032| 0: x
# 1032| Type = int
# 1032| ValueCategory = prvalue(load)
# 1032| 1: y
# 1032| Type = int
# 1032| ValueCategory = prvalue(load)
# 1032| 1: { ... }
# 1033| 0: return ...
# 1033| 0: 1
# 1033| Type = int
# 1033| Value = 1
# 1033| ValueCategory = prvalue
# 1035| 2: { ... }
# 1036| 0: return ...
# 1036| 0: 0
# 1036| Type = int
# 1036| Value = 0
# 1036| ValueCategory = prvalue
# 1039| 2: { ... }
# 1040| 0: if (...) ...
# 1040| 0: ... < ...
# 1040| Type = bool
# 1040| ValueCategory = prvalue
# 1040| 0: x
# 1040| Type = int
# 1040| ValueCategory = prvalue(load)
# 1040| 1: y
# 1040| Type = int
# 1040| ValueCategory = prvalue(load)
# 1040| 1: { ... }
# 1041| 0: return ...
# 1041| 0: 0
# 1041| Type = int
# 1041| Value = 0
# 1041| ValueCategory = prvalue
# 1043| 2: { ... }
# 1044| 0: return ...
# 1044| 0: 1
# 1044| Type = int
# 1044| Value = 1
# 1044| ValueCategory = prvalue
# 1049| int DoWhileFalse()
# 1049| params:
# 1049| body: { ... }
# 1050| 0: declaration
# 1050| 0: definition of i
# 1050| Type = int
# 1050| init: initializer for i
# 1050| expr: 0
# 1050| Type = int
# 1050| Value = 0
# 1050| ValueCategory = prvalue
# 1051| 1: do (...) ...
# 1053| 0: 0
# 1053| Type = bool
# 1053| Value = 0
# 1053| ValueCategory = prvalue
# 1051| 1: { ... }
# 1052| 0: ExprStmt
# 1052| 0: ... ++
# 1052| Type = int
# 1052| ValueCategory = prvalue
# 1052| 0: i
# 1052| Type = int
# 1052| ValueCategory = lvalue
# 1055| 2: return ...
# 1055| 0: i
# 1055| Type = int
# 1055| ValueCategory = prvalue(load)
# 1058| void chiNodeAtEndOfLoop(int, char*)
# 1058| params:
# 1058| 0: n
# 1058| Type = int
# 1058| 1: p
# 1058| Type = char *
# 1058| body: { ... }
# 1059| 0: while (...) ...
# 1059| 0: ... > ...
# 1059| Type = bool
# 1059| ValueCategory = prvalue
# 1059| 0: ... --
# 1059| Type = int
# 1059| ValueCategory = prvalue
# 1059| 0: n
# 1059| Type = int
# 1059| ValueCategory = lvalue
# 1059| 1: 0
# 1059| Type = int
# 1059| Value = 0
# 1059| ValueCategory = prvalue
# 1060| 1: ExprStmt
# 1060| 0: ... = ...
# 1060| Type = char
# 1060| ValueCategory = lvalue
# 1060| 0: * ...
# 1060| Type = char
# 1060| ValueCategory = lvalue
# 1060| 0: ... ++
# 1060| Type = char *
# 1060| ValueCategory = prvalue
# 1060| 0: p
# 1060| Type = char *
# 1060| ValueCategory = lvalue
# 1060| 1: (char)...
# 1060| Conversion = integral conversion
# 1060| Type = char
# 1060| Value = 0
# 1060| ValueCategory = prvalue
# 1060| expr: 0
# 1060| Type = int
# 1060| Value = 0
# 1060| ValueCategory = prvalue
# 1061| 1: return ...
Loading