Skip to content

Commit

Permalink
clang format correction
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Jul 8, 2024
1 parent 2ade8d6 commit d9bc1c7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
22 changes: 16 additions & 6 deletions test_conformance/printf/test_printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ int test_address_space(cl_device_id deviceID, cl_context context,
}

int test_mixed_format_random(cl_device_id deviceID, cl_context context,
cl_command_queue queue, int num_elements)
cl_command_queue queue, int num_elements)
{
return doTest(gQueue, gContext, TYPE_MIXED_FORMAT_RANDOM, deviceID);
}
Expand Down Expand Up @@ -1014,11 +1014,21 @@ int test_buffer_size(cl_device_id deviceID, cl_context context,
}

test_definition test_list[] = {
ADD_TEST(int), ADD_TEST(half), ADD_TEST(half_limits),
ADD_TEST(float), ADD_TEST(float_limits), ADD_TEST(octal),
ADD_TEST(unsigned), ADD_TEST(hexadecimal), ADD_TEST(char),
ADD_TEST(string), ADD_TEST(format_string), ADD_TEST(vector),
ADD_TEST(address_space), ADD_TEST(buffer_size), ADD_TEST(mixed_format_random),
ADD_TEST(int),
ADD_TEST(half),
ADD_TEST(half_limits),
ADD_TEST(float),
ADD_TEST(float_limits),
ADD_TEST(octal),
ADD_TEST(unsigned),
ADD_TEST(hexadecimal),
ADD_TEST(char),
ADD_TEST(string),
ADD_TEST(format_string),
ADD_TEST(vector),
ADD_TEST(address_space),
ADD_TEST(buffer_size),
ADD_TEST(mixed_format_random),
};

const int test_num = ARRAY_SIZE( test_list );
Expand Down
5 changes: 3 additions & 2 deletions test_conformance/printf/util_printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1100,8 +1100,9 @@ testCase testCaseAddrSpace = {

//----------------------------------------------------------
// Container related to mixed format tests.
// Empty records for which the format string and reference string are generated at run time.
// The size of this vector specifies the number of random tests that will be run.
// Empty records for which the format string and reference string are generated
// at run time. The size of this vector specifies the number of random tests
// that will be run.
std::vector<printDataGenParameters> printMixedFormatGenParameters(64,
{ { "" } });

Expand Down

0 comments on commit d9bc1c7

Please sign in to comment.