[master] caa4fe1 Start a global flint.lnt file
Poul-Henning Kamp
phk at FreeBSD.org
Fri Nov 29 11:01:12 CET 2013
commit caa4fe17ecce9f2fce7952aebd5710984a1d2bf2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Nov 29 09:52:07 2013 +0000
Start a global flint.lnt file
diff --git a/bin/varnishd/flint.lnt b/bin/varnishd/flint.lnt
index bfa3ccb..0c8c7d6 100644
--- a/bin/varnishd/flint.lnt
+++ b/bin/varnishd/flint.lnt
@@ -89,7 +89,6 @@
//////////////
-efunc(1791, pdiff) // return last on line
//////////////
--efile(451, "tbl/*.h") // No include guard
-efile(451, "vcc_types.h") // No include guard
-efile(451, "symbol_kind.h") // No include guard
-efile(451, "config.h") // No include guard
diff --git a/bin/varnishd/flint.sh b/bin/varnishd/flint.sh
index b616a29..63b406d 100755
--- a/bin/varnishd/flint.sh
+++ b/bin/varnishd/flint.sh
@@ -7,6 +7,7 @@ if [ "x$1" = "x-ok" -a -f _.fl ] ; then
fi
flexelint \
+ ../../flint.lnt \
../flint.lnt \
flint.lnt \
-I. \
diff --git a/bin/varnishlog/flint.lnt b/bin/varnishlog/flint.lnt
index 7669aca..c0d43d8 100644
--- a/bin/varnishlog/flint.lnt
+++ b/bin/varnishlog/flint.lnt
@@ -1,4 +1,3 @@
--efile(451, "../../include/vsc_all.h")
-e835 // A zero has been given as ___ argument to operator '___' (<<)
-e712 // 14 Info 712 Loss of precision (___) (___ to ___)
-e747 // 16 Info 747 Significant prototype coercion (___) ___ to ___
diff --git a/bin/varnishlog/flint.sh b/bin/varnishlog/flint.sh
index dc9e9ba..26e0fa3 100755
--- a/bin/varnishlog/flint.sh
+++ b/bin/varnishlog/flint.sh
@@ -7,6 +7,7 @@ if [ "x$1" = "x-ok" -a -f _.fl ] ; then
fi
flexelint \
+ ../../flint.lnt \
../flint.lnt \
flint.lnt \
-I. \
diff --git a/flint.lnt b/flint.lnt
new file mode 100644
index 0000000..2dc8c91
--- /dev/null
+++ b/flint.lnt
@@ -0,0 +1,5 @@
+/*
+ * Toplevel control file for FlexeLint
+ */
+
+-efile(451, "tbl/*.h") // No include guard
More information about the varnish-commit
mailing list