summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/LANG_CLANG_TIDY.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Wording, formatting and ordering fixes for SKIP_LINTING docsCraig Scott2023-05-191-5/+7
| | | | | Amends b480315e0c2 (TargetGenerator: Add SKIP_LINTING source property, 2023-05-12).
* TargetGenerator: Add SKIP_LINTING source propertyOrkun Tokdemir2023-05-161-0/+7
| | | | | | | 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-0/+5
| | | | | | Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept generator expressions.
* Help: Minor grammar, typo and formatting cleanupsCraig Scott2022-10-091-1/+1
|
* clang-tidy: Don't append compiler commands if using -pCraig Scott2022-10-071-3/+15
| | | | | | | | | | | | | When the -p option is given to clang-tidy, it doesn't need the compile command line to be appended. It can get everything it needs from the compile_commands.json file in the directory specified with the -p option. When the compiler being used is not the system default compiler, clang-tidy has been observed to pick up the wrong headers when the compiler command line is given, but not if only the -p option is used. Therefore, don't append the compiler command line if -p is present in the <LANG>_CLANG_TIDY target property. Fixes: #24017
* clang-tidy: allow OBJC and OBJCXXAndrew Fuller2020-11-051-1/+1
|
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* Help: Spell out ";-list" as "semicolon-separated list"Joachim Wuttke (o)2018-10-251-1/+1
|
* Add options to run clang-tidy with the compilerDaniel Pfeifer2016-04-131-0/+13
Create a <LANG>_CLANG_TIDY target property (initialized by a CMAKE_<LANG>_CLANG_TIDY variable) to specify a clang-tidy command line to be run along with the compiler.