diff options
author | Brad King <brad.king@kitware.com> | 2015-03-31 13:17:47 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-31 13:17:47 (GMT) |
commit | da68bd3828bb4adc3dd64d2f7db3131d41529ef2 (patch) | |
tree | 9ec4d01e7a8aa655ee6d5983789fc484b8986dfe | |
parent | a6b0b835acfedfe4f46e15b165b2aa9496371580 (diff) | |
parent | d9420364a2c38434ac5864c0ca209d9c32f904df (diff) | |
download | CMake-da68bd3828bb4adc3dd64d2f7db3131d41529ef2.zip CMake-da68bd3828bb4adc3dd64d2f7db3131d41529ef2.tar.gz CMake-da68bd3828bb4adc3dd64d2f7db3131d41529ef2.tar.bz2 |
Merge topic 'clean-scanbuild-warnings'
d9420364 Move scanbuild exceptions out of dashboard script and into cmake.
-rw-r--r-- | CTestCustom.cmake.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index f499be1..8c4d400 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -62,6 +62,18 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION # Ignore clang's summary warning, assuming prior text has matched some # other warning expression: "[0-9,]+ warnings? generated." + +# scanbuild 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.*" + "cm_sha2.*warning: Value stored to.*is never read" + "testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.." ) if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode") |