Commit Graph

11 Commits

Author SHA1 Message Date
Kyle Edwards
b1366e215e clang-tidy module: fix offset issue with last string concat operand 2022-12-03 13:56:56 -05:00
Sean Orner
c6c8616468 clang-tidy module: add tests for string concatenation check 2022-11-28 13:37:52 -05:00
Kyle Edwards
c6368a23fe clang-tidy module: look for sizeof string literal in cmStrLen() check 2022-11-18 09:37:58 -05:00
Sean Orner
aa0c99c55c clang-tidy module: add test for #pragma once check 2022-11-17 13:55:52 -05:00
Kyle Edwards
68a4d97da7 clang-tidy module: allow header files in test cases 2022-11-17 13:55:52 -05:00
Sean Orner
75ab77ee19 clang-tidy module: add test for ostringstream check 2022-11-14 13:51:59 -05:00
Sean Orner
eab8e38961 clang-tidy module: add check for boolean parameters
Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
2022-11-07 13:15:02 -05:00
Igor-Mikhail-Valentin Glebov
ffa970559c clang-tidy module: add tests for cmsys::fstream check
Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
2022-11-04 11:33:23 -04:00
Kyle Edwards
01d8308406 Tests: remove stderr from clang-tidy module tests
The stderr has the potential to count warnings from system header
files, which are very platform-specific and not reliable, and they
are simply a count of all the warnings that were emitted on stdout,
which we already have. Remove stderr and only look at stdout.
2022-11-04 11:02:47 -04:00
Sean Orner
43481a77f9 clang-tidy module: add test for cmStrLen() check 2022-10-19 13:52:58 -04:00
Kyle Edwards
0a2093d0c5 clang-tidy module: add test framework 2022-10-14 11:09:38 -04:00