summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1
AgeCommit message (Expand)Author
2006-06-02Rework logic for function argument conversion warnings. Only do certainChad Loder
2006-05-29Get rid of -t (traditional C) option. Some corrections by moritz.Chad Loder
2006-05-28Kill the bflag, which was really just used to shut up a useless warningChad Loder
2006-05-28Kill the -a option for lint, which controlled (inconsistently) warningsChad Loder
2006-05-05Do not warn when casting a pointer to [unsigned] char *;Otto Moerbeek
2006-05-05Fix SEGV on prototypes containing functions; from NetBSD rev 1.18;Otto Moerbeek
2006-05-05Fix SEGV on scalar initialization with braces; also found in NetBSDOtto Moerbeek
2006-05-03be smarter about warning for null effects; kills a lot of spuriousOtto Moerbeek
2006-04-27print a quad as %lld, not %dOtto Moerbeek
2006-04-27Correctly process comma operator when hunting for "expression has nullOtto Moerbeek
2006-04-26Typos in comments, no code changesChad Loder
2006-04-25Prettier error messagesChad Loder
2006-04-25Rather than use the psize() macro everywhere (portable size macro whichChad Loder
2006-04-21Kill warning 54, trailing comma in enum, because this is allowed in C99.Chad Loder
2006-04-21Fix crash when lint deals with break statements outside switch or loop.Chad Loder
2006-04-20Add a LINTUSED special comment which marks the following declared symbol(s)Chad Loder
2006-04-20Do not warn about unreachable breaks in a switch. Prodded by theo, andChad Loder
2006-04-18Add () to function names to make it more clear what is happeningChad Loder
2006-04-18For prototype argument conversions, include both "from" and "to" types.Chad Loder
2006-04-18For all warnings involving prototypes, print the function name and theChad Loder
2006-04-18Add a funcname() function, which returns the name of a function given aChad Loder
2006-04-18The old way of passing function argument information was to pass an intChad Loder
2006-04-03reflect reality, wchar_t has been int on OpenBSD for about a year now.Marc Espie
2006-03-20Lint should not complain about expressions of the form: ((x == y) == z)Chad Loder
2006-03-13Do not warn for functions declared with ARGSUSEDMoritz Jodeit
2006-03-08some cleanup including:Moritz Jodeit
2006-01-16minimal recognition of C99 float hex constants, allows lint to parseMarc Espie
2006-01-16Kill spurious warnings when using size_t as an index; since size_t andOtto Moerbeek
2005-12-18Grok NORETURN function prototypes in addition to NORETURN functionChad Loder
2005-12-17Handle __dead functions using lint comments.Chad Loder
2005-12-17Check for functions declared with ARGSUSED but having no arguments.Chad Loder
2005-12-16Make div by zero a non-fatal messageChad Loder
2005-12-16Limp along with integral 0 instead of UQUAD_MAX when there is a divisionChad Loder
2005-12-16Call checkdbz with the correct operand, so that div by zero checks actuallyChad Loder
2005-12-15Add a new warning message: conversion of %s return value from '%s' to '%s'.Chad Loder
2005-12-14Move arg # to start of message. Makes it slighly more usefulKjell Wooding
2005-12-12Restructure conditional from last checkin regarding constant in conditionalChad Loder
2005-12-12Cut down on extraneous "constant in conditional context" warnings whenChad Loder
2005-12-11SRCS should contain .y and .l references, then make will do the right thingTheo de Raadt
2005-12-11make this compile againTheo de Raadt
2005-12-10Change warning/error format to match gcc's.Chad Loder
2005-12-10how did this slip in, grr.Martin Reindl
2005-12-10translate a bunch of comments from german to englishMartin Reindl
2005-12-10Lint now warns about sizeof(term) where the operator is anything otherChad Loder
2005-12-10Fix a commentChad Loder
2005-12-10Add a new lint flag '-f' which, for each warning or error, prints theChad Loder
2005-12-10Back out all gcc attribute parsing changes until we can do this the rightChad Loder
2005-12-10Fix a crash when enum bitfields are encountered. Reported by marc onChad Loder
2005-12-09Do not warn about assignment in conditional context if the assignmentChad Loder
2005-12-09Another case theo reminded me ofChad Loder