Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-27 | typos; ok jmc@ | Martynas Venckus | |
sys/dev/pci/pciide.c from naddy@ | |||
2007-11-26 | typos; ok jmc@ | Martynas Venckus | |
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@ | |||
2007-10-17 | remove "unused variable" warnings | Charles Longeau | |
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@ | |||
2007-10-11 | pcc also knows about quads; ok cloder@ | Otto Moerbeek | |
2007-09-24 | typos; from Pierre Riteau | Jason McIntyre | |
2007-09-08 | Fix false negatives in dealing with unreachable code after calls to __dead | Chad Loder | |
functions. Prodded by fgs@, but a different diff than his. "Makes sense" fgs@ | |||
2007-09-06 | Fix typos in comments. No code changes | Chad Loder | |
2007-09-05 | - use a consistent grammatical case for the C comments section | Jason McIntyre | |
- remove useless brackets - new sentence, new line | |||
2007-09-05 | Document NORETURN, add it to the directive list and rearrange the entries. | Federico G. Schwindt | |
ok deraadt@. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-26 | More comment typos from Diego Casati. Including winners like funtion, allmost, | Kenneth R Westerback | |
oustside, seqencer, toghether, nessissary, etc. | |||
2007-04-24 | exeption -> exception | Miod Vallat | |
2007-03-21 | remove extra *p tests, from charles longeau | Ted Unangst | |
ok deraadt millert | |||
2007-03-20 | sort options; sync synopsis and usage(); | Jason McIntyre | |
from Igor Sobrado | |||
2006-11-10 | fix usage message | Theo de Raadt | |
2006-11-03 | ouT makefile rules are smarter now, kill a redundant CLEANFILES | Otto Moerbeek | |
2006-10-26 | Remove an unused variable spotted by lint. | Chad Loder | |
2006-07-09 | *enty->*ently where applicable | Miod Vallat | |
2006-06-02 | Rework logic for function argument conversion warnings. Only do certain | Chad Loder | |
classes of warnings if the function is not actually governed by a prototype, otherwise in standard C the compiler is free to avoid the usual widening/renarrowing conversions familiar to us from traditional C. This gets rid of many duplicate warnings. There is still more work to do to quiet lint but this is a necessary prerequisite. | |||
2006-05-29 | Get rid of -t (traditional C) option. Some corrections by moritz. | Chad Loder | |
2006-05-29 | lint has two synopses, so remove -ab from the second one too; | Jason McIntyre | |
2006-05-28 | Kill the bflag, which was really just used to shut up a useless warning | Chad Loder | |
regarding unreachable breaks, we committed a smarter fix for this a while back, so the flag is not needed anymore. Lint will still accept and silently ignore this flag for now. | |||
2006-05-28 | Kill the -a option for lint, which controlled (inconsistently) warnings | Chad Loder | |
regarding narrowing conversions. For now, lint still accepts and ignores the -a option, but soon I will remove it utterly and change the default LINTFLAGS. | |||
2006-05-06 | use mkstemp, remove races wrt lint1 and cpp. | Marc Espie | |
(check lint1 and cpp code, they use fopen/freopen to open that temp file, and thus will happily overwrite a symlink) okay cloder@ | |||
2006-05-05 | Do not warn when casting a pointer to [unsigned] char *; | Otto Moerbeek | |
discussion with espie@; ok cloder@ | |||
2006-05-05 | Fix SEGV on prototypes containing functions; from NetBSD rev 1.18; | Otto Moerbeek | |
ok cloder@ | |||
2006-05-05 | Fix SEGV on scalar initialization with braces; also found in NetBSD | Otto Moerbeek | |
rev 1.23 as part of a much larger diff. ok cloder@ | |||
2006-05-03 | be smarter about warning for null effects; kills a lot of spurious | Otto Moerbeek | |
warnings. ok cloder@ | |||
2006-04-27 | print a quad as %lld, not %d | Otto Moerbeek | |
2006-04-27 | Correctly process comma operator when hunting for "expression has null | Otto Moerbeek | |
effect" warnings. NetBSD has same fix, I found out after the fact. ok cloder@ | |||
2006-04-26 | Something very small and lame for now | Chad Loder | |
2006-04-26 | Typos in comments, no code changes | Chad Loder | |
2006-04-25 | Prettier error messages | Chad Loder | |
2006-04-25 | Rather than use the psize() macro everywhere (portable size macro which | Chad Loder | |
only makes sense when -p option is specified to lint), add a new concept and macro called rank(), which corresponds to the C99 definition of rank for integral types. This has one main benefit, which is that on ILP32 platforms, if -p was not specified, lint did not warn when the code converted from long to int, because they are the same size. This is fixed. While here, get rid of a false positive with warning 259, when converting from an unsigned char to an int, for example. | |||
2006-04-21 | Kill warning 54, trailing comma in enum, because this is allowed in C99. | Chad Loder | |
2006-04-21 | On gcc3, specify -CC to the preprocessor (preserve comments even in macro | Chad Loder | |
expansios). On gcc 2.95, we can't do this yet because the preprocessor support for -CC is not fully functional yet. OK deraadt@ | |||
2006-04-21 | Fix crash when lint deals with break statements outside switch or loop. | Chad Loder | |
This defect was introduced by me on my last commit and found by dlg@ when linting in kernel. | |||
2006-04-20 | Add a LINTUSED special comment which marks the following declared symbol(s) | Chad Loder | |
as used so that lint2 doesn't complain. Prodded by deraadt | |||
2006-04-20 | Do not warn about unreachable breaks in a switch. Prodded by theo, and | Chad Loder | |
this is necessitated by output of lex (thanks a lot). | |||
2006-04-18 | Disable -CC to cpp until cpp 2.95 can handle it properly | Chad Loder | |
2006-04-18 | Add () to function names to make it more clear what is happening | Chad Loder | |
2006-04-18 | For prototype argument conversions, include both "from" and "to" types. | Chad Loder | |
2006-04-18 | For all warnings involving prototypes, print the function name and the | Chad Loder | |
argument number. | |||
2006-04-18 | Add a funcname() function, which returns the name of a function given a | Chad Loder | |
CALL or AMPER or NAME node to a function or pointer to a function. This will come in handy later. | |||
2006-04-18 | The old way of passing function argument information was to pass an int | Chad Loder | |
which corresponded to the argument # (1-based, with 0 meaning it is not an argument). This sucked because it is impossible to include the function name or argument name in warnings when all you have is an argument number. Introduce a new type farg_t which represents a passed function argument. struct farg contains argument number, function name, and argument symbol information from the prototype). | |||
2006-04-17 | Pass -CC to cpp, which preserves comments in macros. This gets us __dead | Chad Loder | |
code detection and later on, other things. | |||
2006-04-03 | reflect reality, wchar_t has been int on OpenBSD for about a year now. | Marc Espie | |
okay millert@ | |||
2006-03-20 | Lint should not complain about expressions of the form: ((x == y) == z) | Chad Loder | |
because this is perfectly legal in C. deraadt@ was seeing lint false positives with the S_ISREG macro from stat.h. So set m_eqwarn to 0 for the EQ operator. See xlint regress case #16. | |||
2006-03-13 | Do not warn for functions declared with ARGSUSED | Moritz Jodeit | |
but having no arguments. ok deraadt@ cloder@ | |||
2006-03-08 | some cleanup including: | Moritz Jodeit | |
o typos in comments o missing #include o remove pointless nomem() func o unused variables o more use of asprintf(3) ok deraadt@ |