summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/pseudo_cppcheck.c
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: address readability-else-after-return lintBen Boeckel2020-04-131-1/+2
|
* Fail the build if cppcheck returns a non-zero exit codeHarald Brinkmann2018-10-111-8/+11
| | | | | This allows the build failure to be tuned with cppcheck's options --error-exitcode=<n> and --exitcode-suppressions=<file>.
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-10/+14
| | | | | | | | | | | | 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 6.0. * 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.
* Clean up iwyu code to not be one big if statement.Bill Hoffman2017-09-131-1/+12
| | | | | | | | | | This commit changes the internal -E__run_iwyu to be -E__run_co_compile. This is used for co-compile commands. These are tools that want to mirror the compiler. For each compiler invocation the tool will be invoked first. This started as a way to implement include what you use (iwyu), but has expanded to include cpplint, cppcheck and others. Likely there will be more in the future as well. This commit implements each one in its own function and provides a way to add additional ones in the future with less work.
* Add properties to run cppcheck along with the compilerBill Hoffman2017-08-301-0/+21
Create a `<LANG>_CPPCHECK` target property (initialized by a `CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line to be run along with the compiler.