summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-17 16:36:04 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-18 14:43:22 (GMT)
commit80ebc55a7ce934ee357c30713bcb96b209e97963 (patch)
treed57f5b3f499669d4d0290a09e7f4a535e7933a9c /Help
parentce1abfa4149ae0b3920626bef2dd15e8ee8b1940 (diff)
downloadCMake-80ebc55a7ce934ee357c30713bcb96b209e97963.zip
CMake-80ebc55a7ce934ee357c30713bcb96b209e97963.tar.gz
CMake-80ebc55a7ce934ee357c30713bcb96b209e97963.tar.bz2
cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
When using `<LANG>_CLANG_TIDY` our internal launcher for the tool must capture its return code and stderr and report them on failure. Otherwise incorrect command lines silently fail. Closes: #16435
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/capture-clang-tidy-errors.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/capture-clang-tidy-errors.rst b/Help/release/dev/capture-clang-tidy-errors.rst
new file mode 100644
index 0000000..14c32e6
--- /dev/null
+++ b/Help/release/dev/capture-clang-tidy-errors.rst
@@ -0,0 +1,6 @@
+capture-clang-tidy-errors
+-------------------------
+
+* If a command specified by the :prop_tgt:`<LANG>_CLANG_TIDY` target property
+ returns non-zero at build time this is now treated as an error instead of
+ silently ignored.