Skip to content

Commit 2870204

Browse files
jketemasashabu
authored andcommitted
C++: Rename function to match what is actually being tested
1 parent bfae86e commit 2870204

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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
@@ -4180,7 +4180,7 @@ destructors_for_temps.cpp:
41804180
# 103| ValueCategory = prvalue
41814181
# 104| getStmt(1): [ReturnStmt] return ...
41824182
generic.c:
4183-
# 1| [TopLevelFunction] void foo(unsigned int, int)
4183+
# 1| [TopLevelFunction] void c11_generic_test(unsigned int, int)
41844184
# 1| <params>:
41854185
# 1| getParameter(0): [Parameter] x
41864186
# 1| Type = [IntType] unsigned int

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2959,7 +2959,7 @@ destructors_for_temps.cpp:
29592959
# 102| v102_10(void) = ExitFunction :
29602960

29612961
generic.c:
2962-
# 1| void foo(unsigned int, int)
2962+
# 1| void c11_generic_test(unsigned int, int)
29632963
# 1| Block 0
29642964
# 1| v1_1(void) = EnterFunction :
29652965
# 1| m1_2(unknown) = AliasedDefinition :

cpp/ql/test/library-tests/ir/ir/generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
void foo(unsigned int x, int y) {
1+
void c11_generic_test(unsigned int x, int y) {
22
unsigned int r;
33
r = _Generic(r, unsigned int: x, int: y) + 1;
44
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ destructors_for_temps.cpp:
27332733
# 102| v102_8(void) = ExitFunction :
27342734

27352735
generic.c:
2736-
# 1| void foo(unsigned int, int)
2736+
# 1| void c11_generic_test(unsigned int, int)
27372737
# 1| Block 0
27382738
# 1| v1_1(void) = EnterFunction :
27392739
# 1| mu1_2(unknown) = AliasedDefinition :

0 commit comments

Comments
 (0)