C++: Rename function to match what is actually being tested

This commit is contained in:
Jeroen Ketema
2024-08-03 22:28:40 +02:00
committed by Alexandre Boulgakov
parent bfae86e9e8
commit 28702046aa
4 changed files with 4 additions and 4 deletions

View File

@@ -4180,7 +4180,7 @@ destructors_for_temps.cpp:
# 103| ValueCategory = prvalue
# 104| getStmt(1): [ReturnStmt] return ...
generic.c:
# 1| [TopLevelFunction] void foo(unsigned int, int)
# 1| [TopLevelFunction] void c11_generic_test(unsigned int, int)
# 1| <params>:
# 1| getParameter(0): [Parameter] x
# 1| Type = [IntType] unsigned int

View File

@@ -2959,7 +2959,7 @@ destructors_for_temps.cpp:
# 102| v102_10(void) = ExitFunction :
generic.c:
# 1| void foo(unsigned int, int)
# 1| void c11_generic_test(unsigned int, int)
# 1| Block 0
# 1| v1_1(void) = EnterFunction :
# 1| m1_2(unknown) = AliasedDefinition :

View File

@@ -1,4 +1,4 @@
void foo(unsigned int x, int y) {
void c11_generic_test(unsigned int x, int y) {
unsigned int r;
r = _Generic(r, unsigned int: x, int: y) + 1;
}

View File

@@ -2733,7 +2733,7 @@ destructors_for_temps.cpp:
# 102| v102_8(void) = ExitFunction :
generic.c:
# 1| void foo(unsigned int, int)
# 1| void c11_generic_test(unsigned int, int)
# 1| Block 0
# 1| v1_1(void) = EnterFunction :
# 1| mu1_2(unknown) = AliasedDefinition :