From b108c9fdaf2d36c5724982549fddcf46a2dc8800 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 8 Apr 2020 10:37:59 -0400 Subject: TestDriver: avoid clang-tidy lints in generated code --- Templates/TestDriver.cxx.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Templates') diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in index 846a8285ec..053f1ee381 100644 --- a/Templates/TestDriver.cxx.in +++ b/Templates/TestDriver.cxx.in @@ -45,7 +45,8 @@ static const int NumTests = CM_CAST(int, (note that it has to be free'd manually) */ static char* lowercase(const char* string) { - char *new_string, *p; + char *new_string; + char *p; size_t stringSize; stringSize = CM_CAST(size_t, strlen(string) + 1); @@ -63,7 +64,9 @@ static char* lowercase(const char* string) int main(int ac, char* av[]) { - int i, testNum = 0, partial_match; + int i; + int testNum = 0; + int partial_match; char *arg; int testToRun = -1; -- cgit v1.2.1