summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-03 16:00:47 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-03 19:06:42 (GMT)
commitda14f4e19e72f2d7b7ea71ed420880358715a8f2 (patch)
tree30190cd1b78afc7e34f08cc31a20dfc7fe4d8c6d /CTestCustom.cmake.in
parentadc38da49ff3549a74afceb01b06500b40bf0ee6 (diff)
downloadCMake-da14f4e19e72f2d7b7ea71ed420880358715a8f2.zip
CMake-da14f4e19e72f2d7b7ea71ed420880358715a8f2.tar.gz
CMake-da14f4e19e72f2d7b7ea71ed420880358715a8f2.tar.bz2
gitlab-ci: add job to build with clang-analyzer
Update the exceptions in `CTestCustom.cmake.in` to match this job's needs. Drop exceptions needed only by our previous nightly build.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in29
1 files changed, 11 insertions, 18 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 682297e..093c1d8 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -84,27 +84,20 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"[0-9]+ Warning\\(s\\) detected" # SunPro
# clang-analyzer exceptions
- "char_traits.h:.*: warning: Null pointer argument in call to string length function"
- "stl_construct.h:.*: warning: Forming reference to null pointer"
- ".*stl_uninitialized.h:75:19: warning: Forming reference to null pointer.*"
- ".*stl_vector.h:.*: warning: Returning null reference.*"
- "warning: Value stored to 'yymsg' is never read"
- "warning: Value stored to 'yytoken' is never read"
- "index_encoder.c.241.2. warning: Value stored to .out_start. is never read"
- "index.c.*warning: Access to field.*results in a dereference of a null pointer.*loaded from variable.*"
- "cmCommandArgumentLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
- "cmDependsJavaLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
- "cmExprLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
- "cmListFileLexer.c:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
- "cmFortranLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
- "testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.."
+ "cmListFileLexer.c:[0-9]+:[0-9]+: warning: Array subscript is undefined"
+ "jsoncpp/src/.*:[0-9]+:[0-9]+: warning: Value stored to .* is never read"
+ "liblzma/common/index_encoder.c:[0-9]+:[0-9]+: warning: Value stored to '[^']+' during its initialization is never read"
+ "liblzma/liblzma/common/index.c:[0-9]+:[0-9]+: warning: Access to field '[^']+' results in a dereference of a null pointer"
"liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined"
- "liblzma/common/index_encoder.c:[0-9]+:[0-9]+: warning: Value stored to .* during its initialization is never read"
- "libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
- "libuv/src/.*:[0-9]+:[0-9]+: warning: The left operand of '==' is a garbage value"
+ "librhash/librhash/.*:[0-9]+:[0-9]+: warning: The left operand of '[^']+' is a garbage value"
"libuv/src/.*:[0-9]+:[0-9]+: warning: 1st function call argument is an uninitialized value"
+ "libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
+ "libuv/src/.*:[0-9]+:[0-9]+: warning: The left operand of '[^']+' is a garbage value"
+ "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Access to field '[^']+' results in a dereference of a null pointer"
"nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
- "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Value stored to .* is never read"
+ "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Value stored to '[^']+' is never read"
+ "zstd/lib/.*:[0-9]+:[0-9]+: warning: Assigned value is garbage or undefined"
+ "zstd/lib/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
)
if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")