diff options
author | Brad King <brad.king@kitware.com> | 2014-04-01 08:58:23 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-01 08:58:23 -0400 |
commit | 065166cf76676dfc3408a2c315ab380271142b86 (patch) | |
tree | 6b04af25e4378f1e37e5006d36738137ced39f40 /CTestCustom.cmake.in | |
parent | e3e1ba3f781c621835dc5e46783fecb6ccaad127 (diff) | |
download | cmake-065166cf76676dfc3408a2c315ab380271142b86.tar.gz |
CTestCustom: Suppress Clang "will never be executed" warnings in lexers
Clang -Wunreachable-code-return warns on some generated lexer code.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r-- | CTestCustom.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index 6010b6441e..2407da6dbe 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -44,7 +44,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*" "stl_deque.h:1051" "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)" - "(Lexer|Parser).*warning.*statement is unreachable" + "(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)" "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c" "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value" "warning:.*is.*very unsafe.*consider using.*" |