Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
2ddc4eb9
Commit
2ddc4eb9
authored
Apr 24, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be much more focused about 835 (Passing zero to operators like |, << etc.)
parent
0bfec780
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
5 deletions
+24
-5
flint.lnt
bin/flint.lnt
+0
-2
flint.lnt
bin/varnishd/flint.lnt
+11
-1
flint.lnt
bin/varnishlog/flint.lnt
+0
-1
flint.lnt
bin/varnishtest/flint.lnt
+2
-1
flint.lnt
flint.lnt
+10
-0
flint.lnt
lib/libvcc/flint.lnt
+1
-0
No files found.
bin/flint.lnt
View file @
2ddc4eb9
...
...
@@ -40,5 +40,3 @@
-e726 // Extraneous comma ignored
-e825 // control flows into case/default without -fallthrough comment
-e835 // A zero has been given as ___ argument to operator '___' (<<)
bin/varnishd/flint.lnt
View file @
2ddc4eb9
...
...
@@ -61,7 +61,17 @@
-esym(458, params) // unlocked access
-emacro(835, HTTPH) // Info 835: A zero has been given as left argument to operator '&'
-emacro(835, HCB_BIT_NODE) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, VBC_STATE_AVAIL) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, BANS_FLAG_REQ) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, HTTPH) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, HTTPH_R_PASS) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, SMP_SC_LOADED) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, SMP_SEG_MUSTLOAD) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, DELAYED_EFFECT) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, HDF_FILTER) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, O_LARGEFILE) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(845, HTTPH) // Info 845: The left argument to operator '&&' is certain to be 0
-esym(773, PCRE_DATE) // Expression-like macro '___' not parenthesized
//////////////
...
...
bin/varnishlog/flint.lnt
View file @
2ddc4eb9
-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 ___
...
...
bin/varnishtest/flint.lnt
View file @
2ddc4eb9
...
...
@@ -30,7 +30,8 @@
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational
-e835 // A zero has been given as ___ argument to operator '___' (<<)
-emacro(835, STRTOU32_CHECK) // A zero has been given as ___ argument to operator '___'
-e788 // enum value not used in defaulted switch
-efile(451, vmods.h)
...
...
flint.lnt
View file @
2ddc4eb9
...
...
@@ -55,6 +55,16 @@
-emacro(527, WRONG) // unreachable code
-emacro(774, VALID_OBJ) // boolean always true
///////////////////////////////////////////////////////////////////////
// Places where we use x<<0 for reasons of symmetry
-emacro(835, VCT_SP) // A zero has been given as ___ argument to operator '___'
-emacro(835, VSL_COPT_TAIL) // A zero has been given as ___ argument to operator '___'
-emacro(835, SLT_F_UNUSED) // A zero has been given as ___ argument to operator '___'
-emacro(835, ARGV_COMMENT) // A zero has been given as ___ argument to operator '___'
-emacro(835, F_SEEN_ixIX) // A zero has been given as ___ argument to operator '___'
-emacro(835, VEX_OPT_CASELESS) // A zero has been given as ___ argument to operator '___'
///////////////////////////////////////////////////////////////////////
// <vsb.h>
...
...
lib/libvcc/flint.lnt
View file @
2ddc4eb9
...
...
@@ -29,6 +29,7 @@
-e716 // while(1) ...
-e732 // Loss of sign (arg. no. 2) (int to unsigned int)
-emacro(835, EXPR_VAR) // // Info 835: A zero has been given as right argument to operator '<<'
-e763 // Redundant declaration for symbol '...' previously declared
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment