]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Disabled clang static analyzer on *lexer.cc files
authorFrancis Dupont <fdupont@isc.org>
Sun, 8 Oct 2017 15:54:51 +0000 (17:54 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sun, 8 Oct 2017 15:54:51 +0000 (17:54 +0200)
src/bin/agent/agent_lexer.ll
src/bin/d2/d2_lexer.ll
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp6/dhcp6_lexer.ll
src/lib/eval/lexer.ll

index 2f26545435b3396e7149f1dcb793ae23ac202f80..9ddae0bdf4f03e9562abc8f35c4e3ffce452b7ef 100644 (file)
@@ -5,6 +5,10 @@
    file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %{ /* -*- C++ -*- */
+
+/* Generated files do not make clang static analyser so happy */
+#ifndef __clang_analyzer__
+
 #include <cerrno>
 #include <climits>
 #include <cstdlib>
@@ -695,3 +699,4 @@ class Dummy {
     void dummy() { yy_fatal_error("Fix me: how to disable its definition?"); }
 };
 }
+#endif /* !__clang_analyzer__ */
index e008c12b7f338df2c16db81599d5db30e204f211..0e9b9c7cdad7f9b124ee36e654cdcf1140947e0b 100644 (file)
@@ -5,6 +5,10 @@
    file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %{ /* -*- C++ -*- */
+
+/* Generated files do not make clang static analyser so happy */
+#ifndef __clang_analyzer__
+
 #include <cerrno>
 #include <climits>
 #include <cstdlib>
@@ -769,3 +773,4 @@ class Dummy {
     void dummy() { yy_fatal_error("Fix me: how to disable its definition?"); }
 };
 }
+#endif /* !__clang_analyzer__ */
index 13dbec987356c50506328152655822e35759e162..74522648965ca7214bad96ea967fb41993c56355 100644 (file)
@@ -5,6 +5,10 @@
    file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %{ /* -*- C++ -*- */
+
+/* Generated files do not make clang static analyser so happy */
+#ifndef __clang_analyzer__
+
 #include <cerrno>
 #include <climits>
 #include <cstdlib>
@@ -1669,3 +1673,4 @@ class Dummy {
     void dummy() { yy_fatal_error("Fix me: how to disable its definition?"); }
 };
 }
+#endif /* !__clang_analyzer__ */
index 6210c214a29da9c7bd4daed362a99647e9081414..6d891067c409b3bf09e43e99180f63941bac059f 100644 (file)
@@ -5,6 +5,10 @@
    file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %{ /* -*- C++ -*- */
+
+/* Generated files do not make clang static analyser so happy */
+#ifndef __clang_analyzer__
+
 #include <cerrno>
 #include <climits>
 #include <cstdlib>
@@ -1717,3 +1721,4 @@ class Dummy {
     void dummy() { yy_fatal_error("Fix me: how to disable its definition?"); }
 };
 }
+#endif /* !__clang_analyzer__ */
index 9a914f71472a07a3a3893a3d35d2fe5d64fe2589..b7447ea2bc9d86ded443b281d5ea2ffdb06ca251 100644 (file)
@@ -5,6 +5,10 @@
    file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %{ /* -*- C++ -*- */
+
+/* Generated files do not make clang static analyser so happy */
+#ifndef __clang_analyzer__
+
 #include <cerrno>
 #include <climits>
 #include <cstdlib>
@@ -242,3 +246,4 @@ class Dummy {
     void dummy() { yy_fatal_error("Fix me: how to disable its definition?"); }
 };
 }
+#endif /* !__clang_analyzer__ */