You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* tracking clang-tidy warnings
* attempting to update artifacts on PR
* testing CI artifact creation
* added selective artifacts to ci compile step
* extending conditional for artifacts
* added build modifier for CI step
@@ -300,6 +301,12 @@ The [build root](#the-build-root-and-compile_commandsjson) containing the compil
300
301
301
302
Therefore the command-line option `--build-root` allows to specify the build directory when invoking this script, overriding, e.g., a default directory specified in the configuration `.json` file.
302
303
304
+
## Suppressing warnings
305
+
306
+
By default, warnings issued by `clang-tidy` are output on each run, unless the command-line option `--suppress-warnings` is used.
307
+
308
+
> **Remark:**`clang-tidy` warnings do not affect the return code of `run-clang-tidy`, regardless of whether or not they are part of the output. Use your `.clang-tidy` file to transform warnings into errors in case the execution should fail, e.g., by specifying `WarningsAsErrors`.
309
+
303
310
# Use-cases
304
311
305
312
Due to the nature of this tool, i.e., the underlying `clang` tools, the use-cases are very similar when executing `clang-format`, for which a [dedicated wrapper](https://github.com/lmapii/run-clang-format) exists. Please refer to the matching section in the documentation of [`run-clang-format`](https://github.com/lmapii/run-clang-format#use-cases).
0 commit comments