summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmDependsJavaLexer.in.l
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-01-15 15:06:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-15 15:07:02 (GMT)
commitf3b7652efcdd9a2e248ed2ec83ce7fc10944f194 (patch)
tree7a07899928700667ab76e35d9adb1d6ef8cb1259 /Source/LexerParser/cmDependsJavaLexer.in.l
parentc07fa6d98c3ca2bc645c23c4a437d48d57d3eb8d (diff)
parent9e4b6bcbe8f4d3bf495650309b94b045a3c3d7fe (diff)
downloadCMake-f3b7652efcdd9a2e248ed2ec83ce7fc10944f194.zip
CMake-f3b7652efcdd9a2e248ed2ec83ce7fc10944f194.tar.gz
CMake-f3b7652efcdd9a2e248ed2ec83ce7fc10944f194.tar.bz2
Merge topic 'clang-scan-build-warnings'
9e4b6bcbe8 Source/LexerParser: Suppress "Use of zero-allocated memory" warning 613323a78b cmGlobalUnixMakefileGenerator3: Fix memory leak warning bf2503089b liblzma: fix undefined shift result ee555c2a33 libuv: fix clang scan-build warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2796
Diffstat (limited to 'Source/LexerParser/cmDependsJavaLexer.in.l')
-rw-r--r--Source/LexerParser/cmDependsJavaLexer.in.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/LexerParser/cmDependsJavaLexer.in.l b/Source/LexerParser/cmDependsJavaLexer.in.l
index 01a0fa3..b48d1bd 100644
--- a/Source/LexerParser/cmDependsJavaLexer.in.l
+++ b/Source/LexerParser/cmDependsJavaLexer.in.l
@@ -18,6 +18,8 @@ Modify cmDependsJavaLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
+#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
+
#include <iostream>
#include "cmDependsJavaParserHelper.h"
@@ -173,3 +175,7 @@ null { PRIMITIVE; return jp_NULLLITERAL; }
}
%%
+
+/*--------------------------------------------------------------------------*/
+
+#endif /* __clang_analyzer__ */