summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1
AgeCommit message (Expand)Author
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
2005-12-09Don't ever complain when assigning a char literal to a char lvalue,Chad Loder
2005-12-07Remove extra printfsChad Loder
2005-12-07Refactor __attribute__ parsing a bit. This takes us further to being ableChad Loder
2005-12-03Fix enum types, thanks lintChad Loder
2005-12-03Lint can now parse every variation of gcc's __attribute__ that I could findChad Loder
2005-12-02Make three of the keytab fields into a union, because they are 3 differentChad Loder
2005-12-01TypoChad Loder
2005-11-30Add support for // comments. From NetBSDChad Loder
2005-11-30spacingTheo de Raadt
2005-11-30KNFChad Loder
2005-11-30KNFChad Loder
2005-11-30Fix a very old bug_t with memsetChad Loder
2005-11-29stdlib.h has strtouq in itChad Loder
2005-11-29TypoChad Loder
2005-11-29TypoChad Loder
2005-11-29Replace unnecessary mmap allocator with malloc.Chad Loder
2005-11-29Remove old gcc 2.9.5 workaround for sparc64 now that we use gcc3.Chad Loder
2005-11-29Remove XXX_BROKEN_GCC ifdefs, which were used to work around an ancientChad Loder
2005-11-29Typos in comments: explizit and implizitChad Loder
2005-11-29Kill unused localsChad Loder
2005-11-29Make lint grok __func__, which in C99 is a predifined identifier thatChad Loder
2005-11-28Simplify checks for division by zero.Chad Loder
2005-11-28Another comment typoChad Loder
2005-11-28Typos in commentsChad Loder
2005-11-28Set m_balance to 0 for the COLON operator, thus avoiding a false positive.Chad Loder
2005-11-28Do not complain about promotion of a constant (e.g. from int literal toChad Loder