summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenACC/CXXTest
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2023-01-18 17:46:53 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-18 21:20:47 (GMT)
commit33abef7416401b7db9f5f68cee447b4246310e72 (patch)
tree4639cca017838624bfb38c9d82eb34266a28b0c8 /Tests/FindOpenACC/CXXTest
parent57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff)
downloadCMake-33abef7416401b7db9f5f68cee447b4246310e72.zip
CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.gz
CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.bz2
Revise C++ coding style using clang-format-15
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315
Diffstat (limited to 'Tests/FindOpenACC/CXXTest')
-rw-r--r--Tests/FindOpenACC/CXXTest/main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindOpenACC/CXXTest/main.cxx b/Tests/FindOpenACC/CXXTest/main.cxx
index 7369045..14b912b 100644
--- a/Tests/FindOpenACC/CXXTest/main.cxx
+++ b/Tests/FindOpenACC/CXXTest/main.cxx
@@ -8,7 +8,7 @@ void vecaddgpu(float* r, float* a, float* b, std::size_t n)
r[i] = a[i] + b[i];
}
-int main(int, char* [])
+int main(int, char*[])
{
const std::size_t n = 100000; /* vector length */
std::vector<float> a(n); /* input vector 1 */