summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/MultiLint
Commit message (Collapse)AuthorAgeFilesLines
* Linting: Fix empty evaluated genexOrkun Tokdemir2023-09-252-0/+7
| | | | | | | | | | | | | | Update logic added by commit 099934e313 (Add generator expression support to static code analysis hooks, 2023-03-24, v3.27.0-rc1~261^2), and preserved by commit 993dde925f (TargetGenerator: Factor out generation of code check rules, 2023-05-12, v3.27.0-rc1~84^2~2), to handle a generator expression that evaluates to the empty string. If `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY`, or `<LANG>_INCLUDE_WHAT_YOU_USE` are empty after evaluating generator expressions, do not run their lints. Fixes: #25265
* TargetGenerator: Add SKIP_LINTING source propertyOrkun Tokdemir2023-05-1610-0/+58
| | | | | | | The `SKIP_LINTING` source property was added to disable code check for desired source files. The `SKIP_LINTING`includes `cpplint`, `clang-tidy`, \ `cppcheck` and `include-what-you-use`. If `SKIP_LINTING` is set on a source file, the tools mentioned above will not be run on that source file.
* Add generator expression support to static code analysis hooksStefan Schober2023-03-271-4/+4
| | | | | | Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept generator expressions.
* cmcmd: Restore support for running multiple lint toolsBrad King2017-10-2712-0/+88
Refactoring in commit v3.10.0-rc1~115^2 (Clean up iwyu code to not be one big if statement, 2017-08-28) incorrectly changed the logic to run only one lint tool at a time. Restore support for running all tools specified on the command-line.