summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-01 08:58:23 -0400
committerBrad King <brad.king@kitware.com>2014-04-01 08:58:23 -0400
commit065166cf76676dfc3408a2c315ab380271142b86 (patch)
tree6b04af25e4378f1e37e5006d36738137ced39f40 /CTestCustom.cmake.in
parente3e1ba3f781c621835dc5e46783fecb6ccaad127 (diff)
downloadcmake-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.in2
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.*"