Up to [local] / src / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.34, Sun Apr 8 16:27:00 2012 UTC (12 years, 2 months ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.33: +1 -1 lines
FILE REMOVED
tedu lint ok tedu@ guenther@ krw@ espie@ deraadt@
Revision 1.33 / (download) - annotate - [select for diffs], Wed Sep 21 18:08:07 2011 UTC (12 years, 8 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored)
remove rcsids which escaped the purge of 2009
Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 24 22:17:03 2010 UTC (13 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.31: +61 -12 lines
Diff to previous 1.31 (colored)
Teach lint about C99's _Bool and _Complex, plus some related gcc extensions: __real__ and __imag__ operators, the use of '~' for complex conjugation, and 'i' or 'j' as a suffix for complex constants. While this doesn't handle folding and overflow detection for complex constants correctly, it's good enough to make it through libm...and found several bugs once it could do so. "no objections" miod@, krw@
Revision 1.31 / (download) - annotate - [select for diffs], Wed Sep 5 16:32:17 2007 UTC (16 years, 9 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)
Document NORETURN, add it to the directive list and rearrange the entries. ok deraadt@.
Revision 1.30 / (download) - annotate - [select for diffs], Mon May 29 20:47:22 2006 UTC (18 years ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.29: +6 -42 lines
Diff to previous 1.29 (colored)
Get rid of -t (traditional C) option. Some corrections by moritz.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 20 16:29:48 2006 UTC (18 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)
Add a LINTUSED special comment which marks the following declared symbol(s) as used so that lint2 doesn't complain. Prodded by deraadt
Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 13 21:12:32 2006 UTC (18 years, 3 months ago) by moritz
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)
Do not warn for functions declared with ARGSUSED but having no arguments. ok deraadt@ cloder@
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 16 22:16:14 2006 UTC (18 years, 4 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.26: +60 -3 lines
Diff to previous 1.26 (colored)
minimal recognition of C99 float hex constants, allows lint to parse frexp.c. okay cloder@, millert@
Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 17 21:08:27 2005 UTC (18 years, 5 months ago) by cloder
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)
Handle __dead functions using lint comments.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 11 20:02:09 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +7 -3 lines
Diff to previous 1.24 (colored)
make this compile again
Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 10 18:51:54 2005 UTC (18 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)
translate a bunch of comments from german to english ok cloder@
Revision 1.23 / (download) - annotate - [select for diffs], Sat Dec 10 17:41:03 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.22: +3 -42 lines
Diff to previous 1.22 (colored)
Back out all gcc attribute parsing changes until we can do this the right way some day. The effect of __attribute__ on a LALR C grammar is just too ugly to fix quicklly.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 9 03:13:08 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored)
Don't ever complain when assigning a char literal to a char lvalue, regardless of sign/unsign differences. In other words, even though C treats char literals as ints, if the rvalue is a literal inside single quotes, and the lvalue is any kind of char, then assume the programmer knows what he is doing.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 7 01:55:12 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.20: +36 -9 lines
Diff to previous 1.20 (colored)
Refactor __attribute__ parsing a bit. This takes us further to being able to not only consume, but also make sense of gcc __attribute__ syntax.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 3 01:14:39 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.19: +8 -3 lines
Diff to previous 1.19 (colored)
Fix enum types, thanks lint
Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 3 00:27:54 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.18: +7 -0 lines
Diff to previous 1.18 (colored)
Lint can now parse every variation of gcc's __attribute__ that I could find either in our tree or in the gcc docs. See regression test 11 for examples of this. Right now, our cdefs.h actually defines __attribute__(x) to blank when lint runs. We can change this whenever we choose.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Dec 2 18:03:09 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.17: +56 -54 lines
Diff to previous 1.17 (colored)
Make three of the keytab fields into a union, because they are 3 different enums that are mutually exclusive with each other. Makes this file so much neater.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Dec 1 03:17:14 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)
Typo
Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 30 19:42:58 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.15: +15 -2 lines
Diff to previous 1.15 (colored)
Add support for // comments. From NetBSD
Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 30 06:32:00 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.14: +33 -59 lines
Diff to previous 1.14 (colored)
KNF
Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 30 06:22:42 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)
Fix a very old bug_t with memset
Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 29 20:47:44 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.12: +2 -5 lines
Diff to previous 1.12 (colored)
stdlib.h has strtouq in it
Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 24 01:45:28 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)
spacing
Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 23 20:36:41 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)
"inline" is a c99 keyword, so support it unless tflag is selected. OK and input from millert, earlier version looked at by deraadt
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 23 18:47:41 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored)
Grok __restrict__ and __restrict keywords. OK deraadt
Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 23 09:05:42 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)
add a fake C construct __lint_equal__ which will be used to generate alias entries for weak symbols and such also let ; at the top scope be legal
Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 23 08:53:37 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)
support __attribute__
Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 20 17:42:49 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)
spacing
Revision 1.6 / (download) - annotate - [select for diffs], Mon May 10 15:26:22 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
using a horrid hack: permit long long. millert ok
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:39 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.4: +2 -10 lines
Diff to previous 1.4 (colored)
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:59 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.3: +23 -23 lines
Diff to previous 1.3 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:44:18 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)
rcsid
Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 03:11:40 1995 UTC (28 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)
update from netbsd
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:47:03 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:47:03 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Initial revision