Up to [cvs.NetBSD.org] / src / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.222 / (download) - annotate - [select for diffs], Sun Mar 31 20:28:45 2024 UTC (2 weeks, 4 days ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.221: +2 -2
lines
Diff to previous 1.221 (colored) to selected 1.151 (colored)
lint: merge function call operators 'CALL' and 'ICALL'
Revision 1.221 / (download) - annotate - [select for diffs], Sat Mar 9 13:54:47 2024 UTC (5 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.220: +13 -20
lines
Diff to previous 1.220 (colored) to selected 1.151 (colored)
lint: inline accessor macros for tnode_t
Revision 1.220 / (download) - annotate - [select for diffs], Sat Mar 9 13:20:55 2024 UTC (5 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.219: +10 -16
lines
Diff to previous 1.219 (colored) to selected 1.151 (colored)
lint: inline accessor macros for type_t
Revision 1.219 / (download) - annotate - [select for diffs], Sat Mar 9 11:05:05 2024 UTC (5 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.218: +28 -57
lines
Diff to previous 1.218 (colored) to selected 1.151 (colored)
lint: clean up comments, use typedefs
Revision 1.218 / (download) - annotate - [select for diffs], Sat Mar 9 10:54:12 2024 UTC (5 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.217: +8 -10
lines
Diff to previous 1.217 (colored) to selected 1.151 (colored)
lint: internally store case label values in order of appearance
Revision 1.217 / (download) - annotate - [select for diffs], Sat Mar 9 10:47:16 2024 UTC (5 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.216: +1 -15
lines
Diff to previous 1.216 (colored) to selected 1.151 (colored)
lint: remove unneeded checks for left and right operands
Revision 1.216 / (download) - annotate - [select for diffs], Sat Mar 9 10:41:11 2024 UTC (5 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.215: +29 -28
lines
Diff to previous 1.215 (colored) to selected 1.151 (colored)
lint: use fewer struct keywords
Revision 1.215 / (download) - annotate - [select for diffs], Sun Mar 3 16:09:01 2024 UTC (6 weeks, 4 days ago) by rillig
Branch: MAIN
Changes since 1.214: +2 -2
lines
Diff to previous 1.214 (colored) to selected 1.151 (colored)
lint: clean up string parsing and snprintb check
Revision 1.214 / (download) - annotate - [select for diffs], Mon Feb 5 23:11:22 2024 UTC (2 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.213: +10 -1
lines
Diff to previous 1.213 (colored) to selected 1.151 (colored)
lint: make function call arguments directly accessible Previously, the arguments of a function call expression were arranged in a linear tree structure, from right to left. To allow easier access to the arguments, store them in an array instead.
Revision 1.213 / (download) - annotate - [select for diffs], Sat Feb 3 19:37:02 2024 UTC (2 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.212: +1 -3
lines
Diff to previous 1.212 (colored) to selected 1.151 (colored)
lint: remove excessive empty lines
Revision 1.212 / (download) - annotate - [select for diffs], Sat Feb 3 19:25:16 2024 UTC (2 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.211: +25 -4
lines
Diff to previous 1.211 (colored) to selected 1.151 (colored)
lint: keep strings in their source representation This allows further analysis depending on whether individual characters are escaped as octal, hexadecimal or not at all.
Revision 1.211 / (download) - annotate - [select for diffs], Thu Feb 1 18:37:06 2024 UTC (2 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.210: +4 -15
lines
Diff to previous 1.210 (colored) to selected 1.151 (colored)
lint: use standard buffer for storing string values No functional change.
Revision 1.210 / (download) - annotate - [select for diffs], Mon Jan 29 21:30:25 2024 UTC (2 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.209: +2 -2
lines
Diff to previous 1.209 (colored) to selected 1.151 (colored)
lint: do not remember content of wide string literals The plain char literals are needed for checking printf/scanf format strings; lint has no similar check for wide strings. These format strings are checked by modern compilers, making this check less relevant.
Revision 1.209 / (download) - annotate - [select for diffs], Tue Jan 23 19:44:28 2024 UTC (2 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.208: +13 -13
lines
Diff to previous 1.208 (colored) to selected 1.151 (colored)
lint: rename symt_t to symbol_kind It was confusing to have two kinds of "symbol type" (s_type and s_symt), so rename all related identifiers to be more distinctive. No functional change.
Revision 1.208 / (download) - annotate - [select for diffs], Thu Jan 11 23:26:39 2024 UTC (3 months ago) by rillig
Branch: MAIN
Changes since 1.207: +7 -8
lines
Diff to previous 1.207 (colored) to selected 1.151 (colored)
lint: clean up enum constants for designators In intializers and offsetof, both struct and union members are handled in the same way, thus there is no need to distinguish them.
Revision 1.207 / (download) - annotate - [select for diffs], Tue Jan 9 23:46:54 2024 UTC (3 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.206: +36 -1
lines
Diff to previous 1.206 (colored) to selected 1.151 (colored)
lint: allow complex offsetof(type, member-designator) Both GCC 11 and Clang 8 accept member-designators that are not identifiers but designator sequences, such as in 'offsetof(struct stat, st_atim.tv_sec)', so make lint accept them as well.
Revision 1.206 / (download) - annotate - [select for diffs], Sat Jan 6 15:05:24 2024 UTC (3 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.205: +2 -2
lines
Diff to previous 1.205 (colored) to selected 1.151 (colored)
lint: remove redundant parentheses, braces and comments Rename the functions for folding constant expressions, to make the comments redundant.
Revision 1.205 / (download) - annotate - [select for diffs], Sun Dec 3 18:17:41 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.204: +34 -34
lines
Diff to previous 1.204 (colored) to selected 1.151 (colored)
lint: in declarations, replace tab with space Previously, in some cases, the keywords 'const' or 'struct' were followed by a tab, which doesn't make sense. No functional change.
Revision 1.204 / (download) - annotate - [select for diffs], Sun Dec 3 13:12:40 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.203: +43 -42
lines
Diff to previous 1.203 (colored) to selected 1.151 (colored)
lint: re-wrap comments No functional change.
Revision 1.203 / (download) - annotate - [select for diffs], Sat Dec 2 21:47:05 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.202: +2 -2
lines
Diff to previous 1.202 (colored) to selected 1.151 (colored)
lint: rename NOSCL to NO_SCL For symmetry with NO_TSPEC. No functional change.
Revision 1.202 / (download) - annotate - [select for diffs], Thu Sep 14 21:08:12 2023 UTC (7 months ago) by rillig
Branch: MAIN
Changes since 1.201: +2 -2
lines
Diff to previous 1.201 (colored) to selected 1.151 (colored)
lint: remove preprocessor magic from definition of operators No binary change.
Revision 1.201 / (download) - annotate - [select for diffs], Wed Sep 13 20:31:58 2023 UTC (7 months ago) by rillig
Branch: MAIN
Changes since 1.200: +15 -1
lines
Diff to previous 1.200 (colored) to selected 1.151 (colored)
lint: prevent invalid memory access when checking an expression In check_expr_misc, the left and right operands of an expression were accessed even in the case of CON (constant), STRING (string literal) and NAME (identifier), which led to invalid values in pointer variables. These invalid values were not used though, but technically they invoked undefined behavior. Precede each access to the operands with a check that the expression indeed has operands, except in those cases where the operand is known to have operands by only looking at the code of the current function.
Revision 1.200 / (download) - annotate - [select for diffs], Sat Aug 26 10:43:53 2023 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.199: +6 -4
lines
Diff to previous 1.199 (colored) to selected 1.151 (colored)
lint: make diagnostics about ANSI C more international
Revision 1.199 / (download) - annotate - [select for diffs], Wed Aug 2 18:51:25 2023 UTC (8 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.198: +14 -13
lines
Diff to previous 1.198 (colored) to selected 1.151 (colored)
lint: distinguish between arguments and parameters
Revision 1.198 / (download) - annotate - [select for diffs], Tue Aug 1 19:57:38 2023 UTC (8 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.197: +6 -4
lines
Diff to previous 1.197 (colored) to selected 1.151 (colored)
lint: clear global variable 'dcs' after use Having unnecessarily set members is confusing during debugging.
Revision 1.197 / (download) - annotate - [select for diffs], Sat Jul 29 10:34:24 2023 UTC (8 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.196: +1 -2
lines
Diff to previous 1.196 (colored) to selected 1.151 (colored)
lint: only generate err-msgs.h in debug mode
Revision 1.196 / (download) - annotate - [select for diffs], Fri Jul 28 21:50:03 2023 UTC (8 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.195: +7 -4
lines
Diff to previous 1.195 (colored) to selected 1.151 (colored)
lint: extract 'vararg' and 'prototype' flags from global 'dcs' These flags are only relevant for parameter lists, so add a separate type for it. No functional change.
Revision 1.195 / (download) - annotate - [select for diffs], Wed Jul 19 22:24:28 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.194: +16 -5
lines
Diff to previous 1.194 (colored) to selected 1.151 (colored)
lint: work around a possible compiler error on arm and powerpc
Revision 1.194 / (download) - annotate - [select for diffs], Sat Jul 15 13:35:24 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.193: +8 -2
lines
Diff to previous 1.193 (colored) to selected 1.151 (colored)
lint: add detailed logging for finding memory allocation bugs
Revision 1.193 / (download) - annotate - [select for diffs], Fri Jul 14 08:53:52 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.192: +7 -8
lines
Diff to previous 1.192 (colored) to selected 1.151 (colored)
lint: clean up comments, add a test for the '?:' operator
Revision 1.192 / (download) - annotate - [select for diffs], Thu Jul 13 23:27:20 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.191: +2 -3
lines
Diff to previous 1.191 (colored) to selected 1.151 (colored)
lint: merge duplicate code for checking duplicate type qualifiers
Revision 1.191 / (download) - annotate - [select for diffs], Thu Jul 13 23:11:11 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.190: +15 -13
lines
Diff to previous 1.190 (colored) to selected 1.151 (colored)
lint: use separate types for parsing pointer types and type qualifiers The documentation of the previous 'qual_ptr_t' was misleading, as that type was used for other type qualifier lists as well, even if these were not related to pointer types.
Revision 1.190 / (download) - annotate - [select for diffs], Thu Jul 13 19:59:08 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.189: +3 -5
lines
Diff to previous 1.189 (colored) to selected 1.151 (colored)
lint: _Thread_local is a storage class, not a type qualifier
Revision 1.189 / (download) - annotate - [select for diffs], Thu Jul 13 08:40:38 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.188: +2 -2
lines
Diff to previous 1.188 (colored) to selected 1.151 (colored)
lint: indent copyright lines consistently
Revision 1.188 / (download) - annotate - [select for diffs], Thu Jul 13 07:19:24 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.187: +16 -1
lines
Diff to previous 1.187 (colored) to selected 1.151 (colored)
lint: reduce code size for handling lint comments
Revision 1.187 / (download) - annotate - [select for diffs], Wed Jul 12 18:26:04 2023 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.186: +3 -3
lines
Diff to previous 1.186 (colored) to selected 1.151 (colored)
lint: reject _Noreturn if it occurs in invalid places C11 introduced _Noreturn as a function-specifier, not as a type attribute. The latter may occur in more places.
Revision 1.186 / (download) - annotate - [select for diffs], Wed Jul 12 16:07:35 2023 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.185: +15 -4
lines
Diff to previous 1.185 (colored) to selected 1.151 (colored)
lint: don't treat 'inline' as a storage class The additional conflict in the grammar is in the same place as the other conflicts, as T_SCLASS and T_FUNCTION_SPECIFIER are now separate tokens. No functional change.
Revision 1.185 / (download) - annotate - [select for diffs], Tue Jul 11 20:54:23 2023 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.184: +13 -7
lines
Diff to previous 1.184 (colored) to selected 1.151 (colored)
lint: update wording in diagnostic for C99
Revision 1.184 / (download) - annotate - [select for diffs], Mon Jul 10 19:47:12 2023 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.183: +7 -1
lines
Diff to previous 1.183 (colored) to selected 1.151 (colored)
lint: merge duplicate code for getting the name of an operator
Revision 1.183 / (download) - annotate - [select for diffs], Mon Jul 10 19:00:33 2023 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.182: +10 -1
lines
Diff to previous 1.182 (colored) to selected 1.151 (colored)
lint: add debug logging for symbol kinds in the parser An identifier can refer to a variable, type, member, tag or label. Switching between these namespaces is tightly coupled with the evaluation order of the grammar rules.
Revision 1.182 / (download) - annotate - [select for diffs], Sun Jul 9 12:15:07 2023 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.181: +2 -2
lines
Diff to previous 1.181 (colored) to selected 1.151 (colored)
lint: miscellaneous cleanup
Revision 1.181 / (download) - annotate - [select for diffs], Mon Jul 3 07:19:57 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.180: +2 -2
lines
Diff to previous 1.180 (colored) to selected 1.151 (colored)
lint: clean up redundant casts
Revision 1.180 / (download) - annotate - [select for diffs], Mon Jul 3 07:03:19 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.179: +2 -2
lines
Diff to previous 1.179 (colored) to selected 1.151 (colored)
lint: rename uppercase QUAD to LLONG No binary change.
Revision 1.179 / (download) - annotate - [select for diffs], Sun Jul 2 23:40:23 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.178: +2 -1
lines
Diff to previous 1.178 (colored) to selected 1.151 (colored)
lint: add initial support for C23 Required by xsrc/external/mit/MesaLib.old, brw_eu_validate.c, which initializes a struct using empty braces: 'return (struct string){};'.
Revision 1.178 / (download) - annotate - [select for diffs], Sun Jul 2 18:28:15 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.177: +6 -4
lines
Diff to previous 1.177 (colored) to selected 1.151 (colored)
lint: clean up variable names relating to structure padding
Revision 1.177 / (download) - annotate - [select for diffs], Sun Jul 2 18:14:44 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.176: +8 -11
lines
Diff to previous 1.176 (colored) to selected 1.151 (colored)
lint: rename 'quad' to 'signed int' or 'unsigned int' No functional change.
Revision 1.176 / (download) - annotate - [select for diffs], Sun Jul 2 17:41:30 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.175: +3 -3
lines
Diff to previous 1.175 (colored) to selected 1.151 (colored)
lint: use unsigned int for struct alignment This gets rid of 'unsigned short', which saved a few bytes of memory but was inconvenient to deal with. No functional change.
Revision 1.175 / (download) - annotate - [select for diffs], Sun Jul 2 08:16:19 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.174: +2 -3
lines
Diff to previous 1.174 (colored) to selected 1.151 (colored)
lint: clean up variable names
Revision 1.174 / (download) - annotate - [select for diffs], Sat Jul 1 09:59:51 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.173: +18 -16
lines
Diff to previous 1.173 (colored) to selected 1.151 (colored)
lint: clean up comments in lint1.h
Revision 1.173 / (download) - annotate - [select for diffs], Fri Jun 30 21:39:54 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.172: +16 -15
lines
Diff to previous 1.172 (colored) to selected 1.151 (colored)
lint: clean up names related to declaration levels The previous prefix 'DK_' (declaration level kind) had a conflict with the 'DK_' (designator kind) in init.c, so change the prefix to 'DLK_'. The new name for dinfo_t is decl_level, which is more expressive. No functional change.
Revision 1.172 / (download) - annotate - [select for diffs], Fri Jun 30 19:43:00 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.171: +12 -10
lines
Diff to previous 1.171 (colored) to selected 1.151 (colored)
lint: replace macro for unique identifiers with function No functional change.
Revision 1.171 / (download) - annotate - [select for diffs], Fri Jun 30 19:10:49 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.170: +6 -4
lines
Diff to previous 1.170 (colored) to selected 1.151 (colored)
lint: clean up handling of declarations No functional change.
Revision 1.170 / (download) - annotate - [select for diffs], Thu Jun 29 22:52:44 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.169: +9 -9
lines
Diff to previous 1.169 (colored) to selected 1.151 (colored)
lint: clean up member names of declaration levels No functional change outside debug mode.
Revision 1.169 / (download) - annotate - [select for diffs], Thu Jun 29 12:52:06 2023 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.168: +6 -10
lines
Diff to previous 1.168 (colored) to selected 1.151 (colored)
lint: use standard terminology for bit-field width No functional change.
Revision 1.168 / (download) - annotate - [select for diffs], Thu Jun 29 05:47:41 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.167: +14 -9
lines
Diff to previous 1.167 (colored) to selected 1.151 (colored)
lint: enhance debug output for diagnostics Only print the debug message if the diagnostic is active, which is relevant for c99ism, c11ism and gnuism. Print more details about the diagnostic or query.
Revision 1.167 / (download) - annotate - [select for diffs], Sat Jun 24 20:50:54 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.166: +6 -6
lines
Diff to previous 1.166 (colored) to selected 1.151 (colored)
lint: reduce memory allocations The type val_t has the same size as the tn_s member in the same union. No functional change.
Revision 1.166 / (download) - annotate - [select for diffs], Sat Jun 24 08:11:12 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.165: +2 -1
lines
Diff to previous 1.165 (colored) to selected 1.151 (colored)
lint: add query for comparing 'char' with plain integers
Revision 1.165 / (download) - annotate - [select for diffs], Fri Jun 9 15:36:31 2023 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.164: +4 -4
lines
Diff to previous 1.164 (colored) to selected 1.151 (colored)
lint: miscellaneous clean-ups No binary change, except for line numbers in assertions.
Revision 1.164 / (download) - annotate - [select for diffs], Sat Apr 22 17:49:15 2023 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.163: +5 -6
lines
Diff to previous 1.163 (colored) to selected 1.151 (colored)
lint: rename type_t.t_str to t_sou The name 't_str' could have meant 'string' or 'struct'. Since both struct and union types have members, rename it to 't_sou'. No functional change.
Revision 1.163 / (download) - annotate - [select for diffs], Tue Feb 21 19:30:51 2023 UTC (13 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.162: +2 -2
lines
Diff to previous 1.162 (colored) to selected 1.151 (colored)
lint: use __printflike
Revision 1.162 / (download) - annotate - [select for diffs], Sat Feb 18 15:14:11 2023 UTC (13 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.161: +1 -4
lines
Diff to previous 1.161 (colored) to selected 1.151 (colored)
lint: replace INTERNAL_ERROR with plain assert
Revision 1.161 / (download) - annotate - [select for diffs], Sat Jan 21 13:07:22 2023 UTC (14 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.160: +6 -2
lines
Diff to previous 1.160 (colored) to selected 1.151 (colored)
lint: add support for the C11 type qualifier '_Atomic' That keyword can be used as a type specifier as well, support for that will be added later.
Revision 1.160 / (download) - annotate - [select for diffs], Sat Jan 14 10:33:34 2023 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.159: +7 -7
lines
Diff to previous 1.159 (colored) to selected 1.151 (colored)
lint: use fewer abbreviations No binary change except for line numbers in assertions in decl.c.
Revision 1.159 / (download) - annotate - [select for diffs], Fri Jan 13 19:41:50 2023 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.158: +14 -2
lines
Diff to previous 1.158 (colored) to selected 1.151 (colored)
lint: remove custom memory allocator Besides adding complexity, the custom memory allocator didn't invalidate freed memory, which made it harder to find possible use-after-free bugs.
Revision 1.158 / (download) - annotate - [select for diffs], Sat Oct 1 09:42:40 2022 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Changes since 1.157: +3 -3
lines
Diff to previous 1.157 (colored) to selected 1.151 (colored)
lint: add hyphen to adjective 'old-style'
Revision 1.157 / (download) - annotate - [select for diffs], Sun Aug 28 08:41:06 2022 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.156: +3 -3
lines
Diff to previous 1.156 (colored) to selected 1.151 (colored)
lint: rename dcs manipulation functions to be clearer No functional change.
Revision 1.156 / (download) - annotate - [select for diffs], Tue Jul 5 22:50:41 2022 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.155: +16 -1
lines
Diff to previous 1.155 (colored) to selected 1.151 (colored)
lint: add additional queries that are not enabled by default In the last 18 months, several lint warnings have been made adjusted to allow common usage patterns. For example, lint no longer warns about a constant condition in the statement 'do { ... } while (false)' (message 161), as this pattern is well-known in statement-like macros, making it unlikely that the 'false' is a mistake. Another example is casts between unequal pointer types (message 247) for a few well-known patterns that are unlikely to be bugs. Occasionally, it is useful to query the code for patterns or events that would not justify a warning. These patterns are modeled as predefined queries that can be selected individually, in addition to and independently of the existing warnings and errors. New queries can be added as needed, in the same way as new warnings. Queries that are deemed no longer used can be deactivated in the same way as warnings that are no longer used. As long as none of the queries is enabled, they produce a minimal overhead of querying a single global variable. Computations that are more expensive than a few machine instructions should be guarded by any_query_enabled. https://mail-index.netbsd.org/source-changes-d/2022/06/28/msg013716.html ok christos@
Revision 1.155 / (download) - annotate - [select for diffs], Fri Jul 1 21:25:39 2022 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.154: +1 -19
lines
Diff to previous 1.154 (colored) to selected 1.151 (colored)
lint: move error handling code from main1.c to err.c No functional change.
Revision 1.154 / (download) - annotate - [select for diffs], Thu May 26 13:40:49 2022 UTC (22 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.153: +2 -2
lines
Diff to previous 1.153 (colored) to selected 1.151 (colored)
lint: rename olwarn and LWARN_BAD to be more expressive No functional change.
Revision 1.153 / (download) - annotate - [select for diffs], Sat Apr 16 20:57:10 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.152: +2 -1
lines
Diff to previous 1.152 (colored) to selected 1.151 (colored)
lint: investigate why lint only warns about some constant conditions Noticed in lex.c, in the macro kwdef, where lint complains about the condition containing '||' but not about the conditions containing only '>' or '=='.
Revision 1.152 / (download) - annotate - [select for diffs], Sat Apr 16 19:18:17 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.151: +4 -3
lines
Diff to previous 1.151 (colored)
lint: migrate gflag to allow_gcc No functional change.
Revision 1.151 / (download) - annotate - [selected], Sun Apr 10 12:14:10 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.150: +2 -1
lines
Diff to previous 1.150 (colored)
lint: fix assertion failure on duplicate qualifiers from __typeof__
Revision 1.150 / (download) - annotate - [select for diffs], Sat Apr 9 23:41:22 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.149: +15 -17
lines
Diff to previous 1.149 (colored) to selected 1.151 (colored)
lint: distinguish between storage class and declaration kind These types overlap but are not the same. No functional change.
Revision 1.149 / (download) - annotate - [select for diffs], Sat Apr 9 21:19:52 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.148: +2 -2
lines
Diff to previous 1.148 (colored) to selected 1.151 (colored)
lint: rename dinfo_t.d_offset to d_offset_in_bits Most often, offsets are measured in bytes, so better embed the unit in the variable name. No functional change.
Revision 1.148 / (download) - annotate - [select for diffs], Sat Apr 9 16:02:14 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.147: +7 -1
lines
Diff to previous 1.147 (colored) to selected 1.151 (colored)
lint: extract is_member into separate function No functional change.
Revision 1.147 / (download) - annotate - [select for diffs], Sat Apr 9 15:43:41 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.146: +16 -9
lines
Diff to previous 1.146 (colored) to selected 1.151 (colored)
lint: disambiguate sym_t.s_value Having a single variable for 4 different purposes with different types makes the code unnecessarily hard to follow. No functional change.
Revision 1.146 / (download) - annotate - [select for diffs], Sat Apr 9 14:50:18 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.145: +3 -2
lines
Diff to previous 1.145 (colored) to selected 1.151 (colored)
lint: split CTCONST into BOOL_CONST and ENUM_CONST Having a unified compile-time constant "storage class" made the code more difficult to understand. No functional change.
Revision 1.145 / (download) - annotate - [select for diffs], Sat Apr 9 13:38:17 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.144: +6 -11
lines
Diff to previous 1.144 (colored) to selected 1.151 (colored)
lint: inline member access macros for sym_t Having the 'u.' explicitly in the code serves as a reminder that these members are only defined under certain conditions. No functional change.
Revision 1.144 / (download) - annotate - [select for diffs], Sat Apr 2 22:15:57 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.143: +1 -16
lines
Diff to previous 1.143 (colored) to selected 1.151 (colored)
lint: use appropriate alignment on both the host and target platform
Revision 1.143 / (download) - annotate - [select for diffs], Sat Apr 2 14:28:30 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.142: +2 -2
lines
Diff to previous 1.142 (colored) to selected 1.151 (colored)
lint: rename dinfo_t.d_next to d_enclosing The name d_next gave the wrong impression that the declaration infos would be independent of each other, but they are nested. No functional change.
Revision 1.142 / (download) - annotate - [select for diffs], Sun Feb 27 18:29:14 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.141: +4 -10
lines
Diff to previous 1.141 (colored) to selected 1.151 (colored)
lint: merge duplicate code for handling plain and wide strings No functional change. As before, the string literals "1" "2" "3" are not concatenated from left to right, instead concatenation starts with "23" and then proceeds to "123".
Revision 1.141 / (download) - annotate - [select for diffs], Sun Feb 27 11:14:42 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.140: +6 -5
lines
Diff to previous 1.140 (colored) to selected 1.151 (colored)
lint: unabbreviate two more members of sym_t No functional change.
Revision 1.140 / (download) - annotate - [select for diffs], Sun Feb 27 10:49:15 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.139: +1 -3
lines
Diff to previous 1.139 (colored) to selected 1.151 (colored)
lint: remove unused enumeration details from symbol type No functional change.
Revision 1.139 / (download) - annotate - [select for diffs], Sun Feb 27 10:44:45 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.138: +8 -6
lines
Diff to previous 1.138 (colored) to selected 1.151 (colored)
lint: unabbreviate some fields in sym_t No functional change.
Revision 1.138 / (download) - annotate - [select for diffs], Sun Feb 27 07:50:09 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.137: +1 -2
lines
Diff to previous 1.137 (colored) to selected 1.151 (colored)
lint: clean up memory management for string buffers There is no reason to duplicate all the work that is already done by the memory allocator. No functional change.
Revision 1.137 / (download) - annotate - [select for diffs], Sun Feb 27 07:38:54 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.136: +1 -7
lines
Diff to previous 1.136 (colored) to selected 1.151 (colored)
lint: clean up memory allocation No functional change.
Revision 1.136 / (download) - annotate - [select for diffs], Sun Feb 27 01:47:28 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.135: +4 -4
lines
Diff to previous 1.135 (colored) to selected 1.151 (colored)
lint: rename ARG to OLD_STYLE_ARG Pre-C90 argument declarations have been old for more than 30 years now, so mention that fact in the constant name. This reduces potential confusion with other occurrences of the words 'arg' or 'argument'. No functional change.
Revision 1.135 / (download) - annotate - [select for diffs], Mon Feb 7 21:57:47 2022 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.134: +11 -11
lines
Diff to previous 1.134 (colored) to selected 1.151 (colored)
lint: drop compatibility with C90 Since tools/README 1.5 from 2022-02-03, the tools no longer need to be compatible with C90, they may now use C99 features. Lint had used <stdbool.h> and snprintf already. No functional change.
Revision 1.134 / (download) - annotate - [select for diffs], Sat Dec 25 13:51:42 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.133: +3 -3
lines
Diff to previous 1.133 (colored) to selected 1.151 (colored)
lint: don't try to trick mathematics by defining ZERO to a nonzero value No binary change.
Revision 1.133 / (download) - annotate - [select for diffs], Wed Dec 22 15:20:08 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.132: +2 -2
lines
Diff to previous 1.132 (colored) to selected 1.151 (colored)
lint: clean up lex.c Rename 'struct kwtab' to 'struct keyword' since a single keyword is not a whole keyword table. Sync comment for lex_name with reality: sbuf_t no longer contains the hash value. Remove redundant tests for EOF, as EOF is neither a space nor a digit nor an xdigit. No functional change.
Revision 1.132 / (download) - annotate - [select for diffs], Wed Dec 22 14:49:11 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.131: +50 -50
lines
Diff to previous 1.131 (colored) to selected 1.151 (colored)
lint: remove spaces around bit-field colon As seen in /usr/share/misc/style. No binary change.
Revision 1.131 / (download) - annotate - [select for diffs], Tue Nov 16 21:01:05 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.130: +5 -4
lines
Diff to previous 1.130 (colored) to selected 1.151 (colored)
lint: fix check for function calls in strict bool mode Previously, if a function call occurred in the controlling expression, its return type could be any scalar, not just bool. This was against the goal of strict bool mode, which makes bool a separate and incompabile type to all other types. For example, it would allow controlling expressions like 'strcmp(a, b)' without the usual '!= 0', but only if at least one of 'a' and 'b' came from a macro definition from a system header. The fix is that the decision of whether the type of the controlling expression may be scalar is no longer based on the operand types but on the main operator of the controlling expression.
Revision 1.130 / (download) - annotate - [select for diffs], Mon Nov 1 19:48:51 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.129: +11 -11
lines
Diff to previous 1.129 (colored) to selected 1.151 (colored)
lint: enter full C90 compatibility mode The C99 comment in tree.c:3468 has been there since 2017-03-06, without anyone complaining that their compiler would not handle it. Strangely, running GCC 10.3.0 in '-std=c90' mode does not complain about declarations after statements, '-Wdeclaration-after-statement' is needed separately. No functional change.
Revision 1.129 / (download) - annotate - [select for diffs], Tue Sep 14 19:44:40 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.128: +6 -1
lines
Diff to previous 1.128 (colored) to selected 1.151 (colored)
lint: allow [*] everywhere where [] and [integer] are allowed It's a seldom used feature, but now it's at least consistent.
Revision 1.128 / (download) - annotate - [select for diffs], Tue Aug 31 17:51:30 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.127: +1 -2
lines
Diff to previous 1.127 (colored) to selected 1.151 (colored)
lint: remove unused function for generic messages The function message_at is still used, for information about previous occurrences of a symbol.
Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 28 12:41:03 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.126: +2 -2
lines
Diff to previous 1.126 (colored) to selected 1.151 (colored)
lint: fix a few lint warnings about type conversions A simple 'unsigned int' is more than enough for representing the size of a bit-field, as well as the maximum alignment of any type. No functional change.
Revision 1.126 / (download) - annotate - [select for diffs], Sat Aug 28 12:21:53 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.125: +9 -9
lines
Diff to previous 1.125 (colored) to selected 1.151 (colored)
lint: un-abbreviate unsigned integer types No functional change.
Revision 1.125 / (download) - annotate - [select for diffs], Mon Aug 23 17:03:23 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.124: +2 -2
lines
Diff to previous 1.124 (colored) to selected 1.151 (colored)
lint: expand macro in string concatenation No functional change.
Revision 1.124 / (download) - annotate - [select for diffs], Mon Aug 23 06:26:37 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.123: +7 -1
lines
Diff to previous 1.123 (colored) to selected 1.151 (colored)
lint: inline msb This reduces the binary size on x86_64 by about 500 bytes. No functional change.
Revision 1.123 / (download) - annotate - [select for diffs], Sun Aug 22 21:27:15 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.122: +7 -1
lines
Diff to previous 1.122 (colored) to selected 1.151 (colored)
lint: merge duplicate code for binary operator No functional change.
Revision 1.122 / (download) - annotate - [select for diffs], Sun Aug 22 13:01:47 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.121: +3 -3
lines
Diff to previous 1.121 (colored) to selected 1.151 (colored)
lint: save some memory Before lint1.h 1.47 from 2021-01-02, adjacent bit-field struct members shared storage. Restore that using smaller types. No functional change.
Revision 1.121 / (download) - annotate - [select for diffs], Sun Aug 1 08:03:43 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.120: +1 -2
lines
Diff to previous 1.120 (colored) to selected 1.151 (colored)
lint: remove hash value from symbol buffer Conceptually, a symbol buffer does not need to remember its hash value since that belongs to the symbol table. This makes the code for the symbol table simpler. The number of hash calculations increases by about 5%, which is negligible. No functional change.
Revision 1.120 / (download) - annotate - [select for diffs], Sat Jul 31 19:52:44 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.119: +8 -1
lines
Diff to previous 1.119 (colored) to selected 1.151 (colored)
lint: improve support for __int128_t and __uint128_t For the .ln files, I chose the letter 'J' to represent the 128-bit integer types since it is close to 'I' for int. The naming of 'L' for 'long' is obvious, but 'Q' for 64-bit integers is a quad-16-bit word, which is an unusual measurement unit nowadays. One benefit of choosing 'J' is that the next letter, 'K' can then be used for 256-bit integer types. Support for 128-bit integer types is still very basic. Plus, it is only supported on LP64 platforms, which means that lint cannot be cross-compiled to check for an LP64 platform while running on an ILP32 platform.
Revision 1.119 / (download) - annotate - [select for diffs], Sat Jul 31 11:03:04 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.118: +3 -1
lines
Diff to previous 1.118 (colored) to selected 1.151 (colored)
lint: merge duplicate code for generating unqualified type This is a preparation for fixing the wrong warnings in msg_115.c. No functional change.
Revision 1.118 / (download) - annotate - [select for diffs], Fri Jul 23 17:06:37 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.117: +3 -3
lines
Diff to previous 1.117 (colored) to selected 1.151 (colored)
lint: rename cstk_t to control_statement Rename the variables as well. Their previous name 'ci' was not easy to understand, the 'i' may have meant 'stack item'. The new name 'cs' simply means 'control statement'. No functional change.
Revision 1.117 / (download) - annotate - [select for diffs], Fri Jul 23 16:48:48 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.116: +3 -3
lines
Diff to previous 1.116 (colored) to selected 1.151 (colored)
lint: remove a few unnecessary abbreviations No functional change.
Revision 1.116 / (download) - annotate - [select for diffs], Fri Jul 23 16:43:11 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.115: +3 -3
lines
Diff to previous 1.115 (colored) to selected 1.151 (colored)
lint: make offset and alignment positive numbers There's no use case for negative alignment or offsets in structures. No functional change.
Revision 1.115 / (download) - annotate - [select for diffs], Thu Jul 15 18:13:25 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.114: +3 -3
lines
Diff to previous 1.114 (colored) to selected 1.151 (colored)
lint: rename grammar rule 'declaration' to 'declaration_or_error' This prepares for merging the duplicate code from top_level_declaration. The code coverage outside cgram.y is exactly the same as before. No functional change.
Revision 1.114 / (download) - annotate - [select for diffs], Sat Jul 10 17:35:54 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.113: +2 -2
lines
Diff to previous 1.113 (colored) to selected 1.151 (colored)
lint: rename clrtyp/deftyp to begin_type/end_type The abbreviations clr/def did not make it obvious that these two functions or grammar rules form pairs. No functional change.
Revision 1.113 / (download) - annotate - [select for diffs], Thu Jul 8 02:59:22 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.112: +2 -2
lines
Diff to previous 1.112 (colored) to selected 1.151 (colored)
lint: constify keyword in lexer No functional change.
Revision 1.112 / (download) - annotate - [select for diffs], Tue Jul 6 04:44:20 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.111: +5 -5
lines
Diff to previous 1.111 (colored) to selected 1.151 (colored)
lint: rename type generic_association_types to generic_association The word 'types' was misleading and unnecessary. No functional change.
Revision 1.111 / (download) - annotate - [select for diffs], Mon Jul 5 19:48:32 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.110: +3 -2
lines
Diff to previous 1.110 (colored) to selected 1.151 (colored)
lint: rename dinfo_t.d_stralign to d_sou_align_in_bits When talking about alignment, offset and size of a type, the measurement unit must be mentioned in the variable name, especially when it differs from the standard unit of measurement, which is a byte, not a bit. No functional change.
Revision 1.110 / (download) - annotate - [select for diffs], Sun Jul 4 09:13:59 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.109: +5 -2
lines
Diff to previous 1.109 (colored) to selected 1.151 (colored)
lint: in strict bool mode, allow mixed types in generated C code This allows flex lexers to be run through lint in strict bool mode.
Revision 1.109 / (download) - annotate - [select for diffs], Fri Jul 2 18:22:09 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.108: +11 -2
lines
Diff to previous 1.108 (colored) to selected 1.151 (colored)
lint: document lint1_type.t_is_enum Enum types are subject to implicit conversions, as opposed to struct, union, pointer and function types.
Revision 1.108 / (download) - annotate - [select for diffs], Mon Jun 28 08:52:55 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.107: +6 -9
lines
Diff to previous 1.107 (colored) to selected 1.151 (colored)
lint: rename pqinf_t to qual_ptr and clean up code The 'inf' from the type name meant 'information' and was redundant. Each object of that type represents a single pointer level, which made the documentation about 'pointers' a bit confusing. The members of struct qual_ptr are now in the canonical reading order, which is 'const volatile pointer'. No functional change.
Revision 1.107 / (download) - annotate - [select for diffs], Sun Jun 27 20:47:13 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.106: +7 -1
lines
Diff to previous 1.106 (colored) to selected 1.151 (colored)
lint: fix result type of _Generic expressions
Revision 1.106 / (download) - annotate - [select for diffs], Sun Jun 27 08:20:50 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.105: +4 -4
lines
Diff to previous 1.105 (colored) to selected 1.151 (colored)
lint: fix type of pqinf.p_pcnt A counter that can either be 0 or 1 and is never incremented is not really a counter, it's a flag. No functional change.
Revision 1.105 / (download) - annotate - [select for diffs], Sun Jun 20 20:32:42 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.104: +8 -3
lines
Diff to previous 1.104 (colored) to selected 1.151 (colored)
lint: rename val_t.v_unsigned to avoid confusion The name v_unsigned suggested that the value would be interpreted as unsigned, which was wrong. Whether a value is signed or unsigned is decided by v_tspec instead. Revert the previous commit for boolen constants since their value is already interpreted as unsigned, and there is no need for any warning about differences between traditional C and ANSI C since the _Bool type has only been added ten years later in C99. The code for printing a tree node was also confused by this struct member, even with its old name v_ansiu. That code will be fixed in a follow-up commit. No functional change.
Revision 1.104 / (download) - annotate - [select for diffs], Sun Jun 20 19:04:50 2021 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.103: +4 -6
lines
Diff to previous 1.103 (colored) to selected 1.151 (colored)
lint: rename val_t.v_ansiu to v_unsigned When lint was written in 1995, traditional C was still nearby since C90 had been around for only 5 years. 26 years later, almost all code adheres to C90 or even C99 or C11, therefore "C90 or later" can safely be assumed as the default. No functional change.
Revision 1.103 / (download) - annotate - [select for diffs], Sat Jun 19 15:23:57 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.102: +8 -1
lines
Diff to previous 1.102 (colored) to selected 1.151 (colored)
lint: replace undefined behavior with assertion failure Triggered by this malformed code: struct{int;
Revision 1.102 / (download) - annotate - [select for diffs], Tue Jun 15 20:46:45 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.101: +25 -1
lines
Diff to previous 1.101 (colored) to selected 1.151 (colored)
lint: replace array access with function calls First and foremost, the test d_c99_complex_split accessed the array qlmasks out-of-bounds, with an index of 128 for the type 'double _Complex'. This invoked undefined behavior since the maximum allowed index was 64. Replacing the raw array accesses with function calls allows for bounds checks to catch these errors early. Determining the value bits for a 'double _Complex' does not make sense at all since it is not an integer type. This means that lint didn't handle these types correctly for several years. Support for int128_t has been added in inittyp.c 1.12 from 2018-09-07, support for _Complex has been added in inittyp.c 1.9 from 2008-04-26. Determining the value bits for an int128_t would make sense, but the unit tests don't contain examples for this type since at the moment all unit tests must produce the same results on 32-bit and 64-bit platforms, and the 32-bit platforms don't support int128_t.
Revision 1.100.2.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:26 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.100: +2 -1
lines
Diff to previous 1.100 (colored) next main 1.101 (colored) to selected 1.151 (colored)
sync with head
Revision 1.101 / (download) - annotate - [select for diffs], Sat May 15 19:12:14 2021 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Changes since 1.100: +2 -1
lines
Diff to previous 1.100 (colored) to selected 1.151 (colored)
lint: warn about unreachable case labels for '&&' See octeon_gmxreg.h 1.2 from 2020-06-18 for an example, where RXN_RX_INBND_SPEED was cleaned up without adjusting the corresponding code in octeon_gmx.c.
Revision 1.100 / (download) - annotate - [select for diffs], Sun Apr 18 17:47:32 2021 UTC (3 years ago) by rillig
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Changes since 1.99: +5 -5
lines
Diff to previous 1.99 (colored) to selected 1.151 (colored)
lint: remove redundant CONSTCOND In do-while-0 loops, these are no longer needed since tree.c 1.202 from 2021-01-31.
Revision 1.99 / (download) - annotate - [select for diffs], Sun Apr 18 10:09:49 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.98: +19 -19
lines
Diff to previous 1.98 (colored) to selected 1.151 (colored)
lint: rename parameter to diagnostic functions and macros The first parameter is not just an arbitrary number, it's a message ID.
Revision 1.98 / (download) - annotate - [select for diffs], Sun Apr 18 10:04:23 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.97: +5 -5
lines
Diff to previous 1.97 (colored) to selected 1.151 (colored)
lint: align the member access macros for tnode_t
Revision 1.97 / (download) - annotate - [select for diffs], Sun Apr 18 08:52:04 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.96: +14 -1
lines
Diff to previous 1.96 (colored) to selected 1.151 (colored)
lint: add error_at, warning_at, message_at Right now there are several places in the code that use the global variable curr_pos for passing a parameter to the diagnostic functions. That's not what global variables are for. Make it easy for the code to migrate to the parameter-passing style. No functional change.
Revision 1.96 / (download) - annotate - [select for diffs], Sun Apr 18 07:31:47 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.95: +6 -1
lines
Diff to previous 1.95 (colored) to selected 1.151 (colored)
lint: document wrong location information in diagnostics
Revision 1.95 / (download) - annotate - [select for diffs], Wed Apr 14 18:35:40 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.94: +2 -1
lines
Diff to previous 1.94 (colored) to selected 1.151 (colored)
lint: add support for C11-isms such as int[static 3]
Revision 1.94 / (download) - annotate - [select for diffs], Sat Apr 10 18:36:27 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.93: +5 -4
lines
Diff to previous 1.93 (colored) to selected 1.151 (colored)
lint: use distinct struct tags for type_t in lint1 and lint2 Having two similar but still different definitions of 'struct type' is unnecessarily confusing. Exchange this confusion for 8 lines of straight-forward preprocessing code.
Revision 1.93 / (download) - annotate - [select for diffs], Sat Apr 10 18:06:53 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.92: +5 -4
lines
Diff to previous 1.92 (colored) to selected 1.151 (colored)
lint: prepare renaming of 'struct type' It's confusing to have the same struct tag in both lint1 and lint2, with mostly the same members, but also some differences. Before actually changing this, I reviewed all occurrences of the word 'type' in the code. No functional change.
Revision 1.92 / (download) - annotate - [select for diffs], Fri Apr 2 22:05:43 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.91: +2 -2
lines
Diff to previous 1.91 (colored) to selected 1.151 (colored)
lint: reduce memory usage No functional change.
Revision 1.91 / (download) - annotate - [select for diffs], Fri Apr 2 09:39:25 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.90: +2 -2
lines
Diff to previous 1.90 (colored) to selected 1.151 (colored)
lint: rename mbl to memory_block No functional change.
Revision 1.90 / (download) - annotate - [select for diffs], Sat Mar 27 12:42:22 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.89: +3 -2
lines
Diff to previous 1.89 (colored) to selected 1.151 (colored)
lint: rename LERROR to INTERNAL_ERROR The '#ifndef' in tyname.c is meant to distinguish between lint1 and lint2, it is not meant to be defined from anywhere outside the lint code itself. No functional change.
Revision 1.89 / (download) - annotate - [select for diffs], Fri Mar 26 19:17:58 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.88: +17 -13
lines
Diff to previous 1.88 (colored) to selected 1.151 (colored)
lint: rename members of struct control_statement to be more expressive C99 does not define names for the head parts of the 'for' statements, it just calls them clause-1, expression-2 and expression-3. Therefore the rather abstract name 'expr3'. No functional change.
Revision 1.88 / (download) - annotate - [select for diffs], Fri Mar 26 18:54:39 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.87: +11 -2
lines
Diff to previous 1.87 (colored) to selected 1.151 (colored)
lint: rename pushctrl and popctrl to be more expressive While here, remove the magic number 0 that in this context means "function body". No functional change.
Revision 1.87 / (download) - annotate - [select for diffs], Sun Mar 21 15:34:13 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.86: +13 -1
lines
Diff to previous 1.86 (colored) to selected 1.151 (colored)
lint: fix reachability for constant controlling expression in for loop
Revision 1.86 / (download) - annotate - [select for diffs], Sun Mar 21 14:36:59 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.85: +3 -2
lines
Diff to previous 1.85 (colored) to selected 1.151 (colored)
lint: fix reachability computation in if statements Previously, only loop statements were considered for reachability. This ignored the possibility of an early return in an if statement, or unreachable branches.
Revision 1.85 / (download) - annotate - [select for diffs], Sun Mar 21 13:03:42 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.84: +2 -2
lines
Diff to previous 1.84 (colored) to selected 1.151 (colored)
lint: rename c_rchif to c_reached_end_of_then No functional change.
Revision 1.84 / (download) - annotate - [select for diffs], Sun Mar 21 12:08:34 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.83: +2 -2
lines
Diff to previous 1.83 (colored) to selected 1.151 (colored)
lint: rename c_cont to c_continue No functional change.
Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 21 12:06:10 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.82: +3 -4
lines
Diff to previous 1.82 (colored) to selected 1.151 (colored)
lint: document the precise meaning of control_statement.c_break No functional change.
Revision 1.82 / (download) - annotate - [select for diffs], Sun Mar 21 12:03:56 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.81: +5 -6
lines
Diff to previous 1.81 (colored) to selected 1.151 (colored)
lint: rename i_infinite to i_maybe_endless Not every loop that has 'while (1)' is an endless loop. It may still contain a 'return' somewhere.
Revision 1.81 / (download) - annotate - [select for diffs], Sun Mar 21 11:55:59 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.80: +8 -3
lines
Diff to previous 1.80 (colored) to selected 1.151 (colored)
lint: fix wrong 'falls off bottom' after return in do-while
Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 21 10:30:28 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.79: +4 -4
lines
Diff to previous 1.79 (colored) to selected 1.151 (colored)
lint: rename d_fargs, d_fdpos and d_fpsyms to be less abbreviated No functional change.
Revision 1.79 / (download) - annotate - [select for diffs], Sun Mar 21 10:25:40 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.78: +4 -3
lines
Diff to previous 1.78 (colored) to selected 1.151 (colored)
lint: rename d_nedecl to d_nonempty_decl No functional change.
Revision 1.78 / (download) - annotate - [select for diffs], Sun Mar 21 10:21:07 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.77: +2 -2
lines
Diff to previous 1.77 (colored) to selected 1.151 (colored)
lint: rename d_rdcsym to d_redeclared_symbol No functional change.
Revision 1.77 / (download) - annotate - [select for diffs], Sun Mar 21 10:08:01 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.76: +6 -6
lines
Diff to previous 1.76 (colored) to selected 1.151 (colored)
lint: rename clst to case_labels No functional change.
Revision 1.76 / (download) - annotate - [select for diffs], Sat Mar 20 13:00:43 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.75: +4 -4
lines
Diff to previous 1.75 (colored) to selected 1.151 (colored)
lint: document the struct for declarations more precisely No functional change.
Revision 1.75 / (download) - annotate - [select for diffs], Fri Mar 19 08:21:26 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.74: +3 -3
lines
Diff to previous 1.74 (colored) to selected 1.151 (colored)
lint: rename in_bit to in_bits No functional change.
Revision 1.74 / (download) - annotate - [select for diffs], Thu Mar 18 14:58:44 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.73: +2 -2
lines
Diff to previous 1.73 (colored) to selected 1.151 (colored)
lint: document the initialization of an object in more detail This will help fixing the bugs that are currently demonstrated in msg_168.c and d_struct_init_nested.c.
Revision 1.73 / (download) - annotate - [select for diffs], Wed Mar 17 02:24:06 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored) to selected 1.151 (colored)
lint: clean up documentation of dinfo_t No functional change.
Revision 1.72 / (download) - annotate - [select for diffs], Wed Mar 17 02:18:03 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.71: +5 -5
lines
Diff to previous 1.71 (colored) to selected 1.151 (colored)
lint: rename dinfo_t members to be more expressive While here, sync redundant but diverging comments, split multi-assignments and initialize the members in declaration order. No functional change.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Mar 17 01:15:31 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.70: +2 -2
lines
Diff to previous 1.70 (colored) to selected 1.151 (colored)
lint: rename 'blklev' to 'block_level' No functional change.
Revision 1.70 / (download) - annotate - [select for diffs], Sun Mar 7 18:02:45 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.69: +3 -3
lines
Diff to previous 1.69 (colored) to selected 1.151 (colored)
lint: fix off-by-one error in 'case 3...5' According to the GCC documentation[1], the high end of the range is inclusive as well, which makes sense since otherwise there would be no way of specifying a range that includes the maximum representable number. Since the range is not used at all in the code, none of the tests could possibly fail. [1] https://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html No functional change.
Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 28 19:24:15 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.68: +7 -8
lines
Diff to previous 1.68 (colored) to selected 1.151 (colored)
lint: replace wrong comment with assertion The broad type of a value is indeed stored in the value itself, in the member v_tspec. For nodes that refer to this value, it is redundantly stored, it always equals tn->tn_type->t_tspec. After initialization, neither tn->tn_type nor val->v_tspec are modified. This is not ensured by the compiler but has to be analyzed manually. No functional change.
Revision 1.68 / (download) - annotate - [select for diffs], Sun Feb 28 19:16:05 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored) to selected 1.151 (colored)
lint: rename is_nonzero to constant_is_nonzero The new function name emphasizes that the given node must have the operator CON. No functional change.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Feb 28 03:59:28 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.66: +2 -1
lines
Diff to previous 1.66 (colored) to selected 1.151 (colored)
lint: do not warn about constant expressions involving sizeof These expressions are indeed constant for a specific platform, but on another platform their value may change. This makes them unsuspicious and legitimate for portable code. Seen in rump_syscalls.c, as 'sizeof(int) > sizeof(register_t)'.
Revision 1.66 / (download) - annotate - [select for diffs], Mon Feb 22 15:09:50 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.65: +2 -2
lines
Diff to previous 1.65 (colored) to selected 1.151 (colored)
lint: change spelling of initialisation to initialization That's the wording from the ISO C99 standard.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Feb 19 22:35:42 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.64: +13 -12
lines
Diff to previous 1.64 (colored) to selected 1.151 (colored)
lint: rename storage class constants to be more expressive No functional change.
Revision 1.64 / (download) - annotate - [select for diffs], Fri Feb 19 22:27:49 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.63: +3 -3
lines
Diff to previous 1.63 (colored) to selected 1.151 (colored)
lint: rename t_isenum and t_aincompl to be more expressive No functional change.
Revision 1.63 / (download) - annotate - [select for diffs], Fri Feb 19 22:20:18 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.62: +9 -9
lines
Diff to previous 1.62 (colored) to selected 1.151 (colored)
lint: rename tenum_t and its members to be more expressive
Revision 1.62 / (download) - annotate - [select for diffs], Fri Feb 19 22:16:12 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.61: +11 -11
lines
Diff to previous 1.61 (colored) to selected 1.151 (colored)
lint: rename str_t and its members to be more expressive No functional change.
Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 19 21:35:44 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.60: +2 -2
lines
Diff to previous 1.60 (colored) to selected 1.151 (colored)
lint: replace cryptic sym.s_rimpl with expressive name No functional change.
Revision 1.60 / (download) - annotate - [select for diffs], Sat Jan 23 22:20:17 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.59: +2 -1
lines
Diff to previous 1.59 (colored) to selected 1.151 (colored)
lint: fix two wrong error messages in strict bool mode The strict bool mode gets complicated because for system headers the rules need to be relaxed since they cannot be changed easily, often not at all. Still, if lint validates a program in strict bool mode, that program must run with equal behavior regarding boolean expressions even on a pre-C99 platform.
Revision 1.59 / (download) - annotate - [select for diffs], Mon Jan 18 19:24:09 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.58: +3 -3
lines
Diff to previous 1.58 (colored) to selected 1.151 (colored)
lint: clean up member names of control_structure and comments
Revision 1.58 / (download) - annotate - [select for diffs], Sun Jan 17 16:25:30 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.57: +2 -2
lines
Diff to previous 1.57 (colored) to selected 1.151 (colored)
lint: extend a few message comments
Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 16 16:53:23 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored) to selected 1.151 (colored)
lint: replace integer constant expressions with true and false LINTFLAGS=-gST make lint, with manual review. The error messages from lint are all correct, they are not complete though. The return value of a function returning bool may still be compared to the integer 0.
Revision 1.56 / (download) - annotate - [select for diffs], Sat Jan 16 16:03:46 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.55: +4 -4
lines
Diff to previous 1.55 (colored) to selected 1.151 (colored)
lint: in strict bool mode, integer constants do not have type bool Previously, lint1 allowed integer constants such as 0 and 1 to be used as bool constants. This was only half-baked since after fixing all error messages from that strict mode, there may still be integer literals in the code that should be replaced with true or false. This would stop a migration from int to bool in the middle, leaving inconsistent code around. To find the remaining type inconsistencies, treat integers and bool as completely incompatible, even for compile time constants.
Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 16 02:40:02 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored) to selected 1.151 (colored)
lint: replace 0 and 1 with false and true, where appropriate Change in behavior: Passing the option -h exactly 4294967296 times or any multiple thereof is no longer equivalent to passing it never at all, it is now equivalent to passing it once. See main2.c, hflag++ for the actual change. Other than that, no functional change intended. A very large portion of the code already conformed to the requirements of the strict bool mode. The only missing thing was using the constant literals false and true instead of 0 and 1. For sure there are some integer literals left that can be converted. For now, all literals that appeared in the form " = 0" or " = 1" have been replaced.
Revision 1.54 / (download) - annotate - [select for diffs], Fri Jan 15 23:43:51 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.53: +18 -1
lines
Diff to previous 1.53 (colored) to selected 1.151 (colored)
lint: merge duplicate code for non-zero detection
Revision 1.53 / (download) - annotate - [select for diffs], Mon Jan 4 22:26:50 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.52: +5 -5
lines
Diff to previous 1.52 (colored) to selected 1.151 (colored)
lint: fix typos and other minor stylistic issues
Revision 1.52 / (download) - annotate - [select for diffs], Sun Jan 3 20:04:08 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.51: +3 -3
lines
Diff to previous 1.51 (colored) to selected 1.151 (colored)
lint: rename cstk to cstmt Most of the code that deals with control statements is only interested in the innermost control statement, and not if that is a stack or not. Therefore, emphasize that part in the variable name. The member c_next was confusing since the "direction" of this "next element" was ambiguous. In a sequence of if statements, the "next" element could have equally been the following one, not the surrounding one.
Revision 1.51 / (download) - annotate - [select for diffs], Sun Jan 3 19:15:36 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored) to selected 1.151 (colored)
lint: rename t_ispacked to t_packed and d_ispacked to d_packed It's shorter, and the other flags of the type or declaration also don't have "is" in their names. Except for t_isenum, but that's because there is a macro named t_enum that would interfere with that name.
Revision 1.50 / (download) - annotate - [select for diffs], Sun Jan 3 19:10:47 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.49: +2 -2
lines
Diff to previous 1.49 (colored) to selected 1.151 (colored)
lint: rename type.t_isfield to t_bitfield
Revision 1.49 / (download) - annotate - [select for diffs], Sun Jan 3 18:48:37 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.48: +25 -1
lines
Diff to previous 1.48 (colored) to selected 1.151 (colored)
lint: in DEBUG mode, verify printf parameters for messages Since several years GCC validates printf-style strings, and there is no reason not to let GCC do that work. This prevents bugs like the segmentation fault that was fixed in tree.c 1.109 from 2021-01-01. By default, lint is compiled with DEBUG off, but it's easy enough to compile it in debug mode once in a while.
Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 2 18:26:44 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored) to selected 1.151 (colored)
lint: fix lint warning 161 "constant in conditional context"
Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 2 01:06:15 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.46: +47 -47
lines
Diff to previous 1.46 (colored) to selected 1.151 (colored)
lint: use bool instead of u_int:1 in structures Better late than never.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Jan 1 19:15:58 2021 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.45: +1 -15
lines
Diff to previous 1.45 (colored) to selected 1.151 (colored)
lint: un-export struct istk
Revision 1.45 / (download) - annotate - [select for diffs], Wed Dec 30 11:39:55 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored) to selected 1.151 (colored)
lint: inline STRUCT_ASSIGN This had only been necessary for some pre-C90 compilers.
Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 30 11:14:03 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.43: +4 -4
lines
Diff to previous 1.43 (colored) to selected 1.151 (colored)
lint: un-abbreviate s_dpos, s_spos and s_upos
Revision 1.43 / (download) - annotate - [select for diffs], Wed Dec 30 11:04:48 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.42: +5 -5
lines
Diff to previous 1.42 (colored) to selected 1.151 (colored)
lint: un-abbreviate s_field, s_keyw and s_xsym
Revision 1.42 / (download) - annotate - [select for diffs], Wed Dec 30 10:56:51 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.41: +5 -5
lines
Diff to previous 1.41 (colored) to selected 1.151 (colored)
lint: un-abbreviate parenthesized and _strg
Revision 1.41 / (download) - annotate - [select for diffs], Wed Dec 30 10:49:10 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored) to selected 1.151 (colored)
lint: rename remaining _nxt members to _next
Revision 1.40 / (download) - annotate - [select for diffs], Wed Dec 30 10:46:11 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.39: +5 -5
lines
Diff to previous 1.39 (colored) to selected 1.151 (colored)
lint: rename more _nxt members to _next
Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 30 10:35:38 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.38: +4 -4
lines
Diff to previous 1.38 (colored) to selected 1.151 (colored)
lint: rename symt_t constants There's no need to abbreviate them, furthermore FMOS was imprecise.
Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 30 10:26:12 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.37: +2 -2
lines
Diff to previous 1.37 (colored) to selected 1.151 (colored)
lint: rename s_nxt to s_next
Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 30 01:33:30 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.36: +7 -1
lines
Diff to previous 1.36 (colored) to selected 1.151 (colored)
lint: reduce verbosity of assertions Having 2 lines of source code per assertion is too much, especially since most of this code is redundant anyway. Extract the common code and the additional negation into a simple function instead.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 29 23:12:48 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (colored) to selected 1.151 (colored)
lint: rename istk_t.i_cnt to i_remaining
Revision 1.35 / (download) - annotate - [select for diffs], Tue Dec 29 21:32:46 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.34: +3 -3
lines
Diff to previous 1.34 (colored) to selected 1.151 (colored)
lint: fix typo in comments
Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 29 12:18:42 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.33: +12 -12
lines
Diff to previous 1.33 (colored) to selected 1.151 (colored)
lint: fix indentation and alignment that used space-tab
Revision 1.33 / (download) - annotate - [select for diffs], Tue Dec 29 11:54:56 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.32: +7 -7
lines
Diff to previous 1.32 (colored) to selected 1.151 (colored)
lint: spell check
Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 28 12:56:33 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.31: +1 -2
lines
Diff to previous 1.31 (colored) to selected 1.151 (colored)
lint1: remove unused t_field
Revision 1.30.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:26 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.151 (colored)
Sync with HEAD
Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 4 17:45:16 2019 UTC (5 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
is-mlppp-base,
is-mlppp
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored) to selected 1.151 (colored)
Add __thread/tls_model attribute
Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:59 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.29: +2 -1
lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.151 (colored)
Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
Revision 1.30 / (download) - annotate - [select for diffs], Tue Dec 27 21:52:35 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.29: +2 -1
lines
Diff to previous 1.29 (colored) to selected 1.151 (colored)
teach lint __attribute__((__unused__))
Revision 1.25.8.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:06 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.25.8.2: +8 -2
lines
Diff to previous 1.25.8.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.151 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.27.4.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:59:20 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.27: +9 -3
lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.151 (colored)
Rebase.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 20 23:00:49 2014 UTC (9 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored) to selected 1.151 (colored)
typo in comment
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:42:52 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25: +15 -5
lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.151 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 18 00:21:14 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9
Changes since 1.27: +8 -2
lines
Diff to previous 1.27 (colored) to selected 1.151 (colored)
only fill memory with junk if BLKDEBUG
Revision 1.25.8.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:29:02 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.25.8.1: +5 -1
lines
Diff to previous 1.25.8.1 (colored) to branchpoint 1.25 (colored) to selected 1.151 (colored)
resync from head
Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 19 17:43:05 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Branch point for: tls-earlyentropy
Changes since 1.26: +5 -1
lines
Diff to previous 1.26 (colored) to selected 1.151 (colored)
Allow linted comments to take an argument that defines which error to suppress.
Revision 1.25.8.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:41 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.25: +4 -4
lines
Diff to previous 1.25 (colored) to selected 1.151 (colored)
resync with head
Revision 1.26 / (download) - annotate - [select for diffs], Sun Feb 17 01:26:19 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base,
agc-symver
Changes since 1.25: +4 -4
lines
Diff to previous 1.25 (colored) to selected 1.151 (colored)
rename enum_t to avoid rpc/types.h lossage.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 24 01:10:31 2011 UTC (12 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache,
tls-maxphys
Changes since 1.24: +14 -4
lines
Diff to previous 1.24 (colored) to selected 1.151 (colored)
Always use our own align macro and explain a bit more why this is bogus.
Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 2 19:01:14 2009 UTC (14 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.23: +2 -1
lines
Diff to previous 1.23 (colored) to selected 1.151 (colored)
recognize struct __packed x { }; in addition to struct x { } __packed;
Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 2 15:03:45 2009 UTC (14 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.22: +2 -1
lines
Diff to previous 1.22 (colored) to selected 1.151 (colored)
understand __attribute__((__packed__)) and __packed.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 10 16:12:39 2008 UTC (15 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (colored) to selected 1.151 (colored)
Ignore restrict in the contexts where const and volatile is allowed. No validation for the use (e.g. that it is used on a pointer), but enough to not stop valid C99 programs.
Revision 1.19.20.1 / (download) - annotate - [select for diffs], Sun May 18 12:36:11 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.19: +4 -3
lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.151 (colored)
sync with head.
Revision 1.21 / (download) - annotate - [select for diffs], Thu May 1 21:52:19 2008 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (colored) to selected 1.151 (colored)
fix const and volatile printing in types.
Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 25 22:18:34 2008 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.19: +3 -2
lines
Diff to previous 1.19 (colored) to selected 1.151 (colored)
preliminary _Complex support. NB: Does not really understand type conversions between complex and doubles.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 24 15:30:35 2005 UTC (18 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-pf42
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored) to selected 1.151 (colored)
in several comments: implizit -> implicit explizit -> explicit
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 17 19:35:48 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.17: +6 -1
lines
Diff to previous 1.17 (colored) to selected 1.151 (colored)
Handle C99 array range initializers: type a[] = { [lo ... hi] = c }:
Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 7 16:28:40 2005 UTC (19 years ago) by christos
Branch: MAIN
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored) to selected 1.151 (colored)
Factor out tyname() so that it can be used both by lint1 and lint2. Since type_t is different between lint1.h and lint2.h include the appropriate file depending on the pass. Make the argument mismatch error print the type names of the types involved. Now that we have a tyname() function we can fix the rest of the pass2 warnings to be more explanatory, but not now.
Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 21 22:44:08 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
fvdl_fs64_base
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored) to selected 1.151 (colored)
fix typo
Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 21 21:14:53 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.14: +1 -0
lines
Diff to previous 1.14 (colored) to selected 1.151 (colored)
support for c99 style and gnu style structure and union named initializers.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 13 14:59:25 2002 UTC (21 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.13: +3 -1
lines
Diff to previous 1.13 (colored) to selected 1.151 (colored)
Minimize diffs with my C99 capable version [this commit does not include C99 support. - turn lerror() into a macro so that the filename and the line number of the error are printed before we abort. - recurse in type printing to provide the proper type name.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 5 03:04:29 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored) to selected 1.151 (colored)
Replace u_quad_t with uint64_t and quad_t with int64_t, and use <inttypes.h> to get those type definitions. These types are more portable, and a little more sane to do autoconf tests for.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 31 19:33:27 2002 UTC (22 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.11: +6 -1
lines
Diff to previous 1.11 (colored) to selected 1.151 (colored)
Provide a placebo default for ALIGN() for hosts which don't have this.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 13 23:56:00 2001 UTC (22 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.10: +18 -1
lines
Diff to previous 1.10 (colored) to selected 1.151 (colored)
Don't use fd_set to keep track of errors to ignore. Doing so relies on overriding FD_SETSIZE. Not overriding it makes it stomp all over memory (which caused the debug outputs we've seen lately). It used to work, but toolification of lint broke it.
Revision 1.9.8.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:40:18 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.151 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 14 06:49:23 2000 UTC (23 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (colored) to selected 1.151 (colored)
fix up NetBSD RCS Ids to match the standard, and the leading comment as to match as well. No functional changes.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Nov 4 21:42:26 1997 UTC (26 years, 5 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Changes since 1.8: +2 -1
lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.151 (colored)
Pull up from trunk: make renaming work and other minor fixes.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 3 22:36:47 1997 UTC (26 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
minoura-xpg4dl-base,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: minoura-xpg4dl
Changes since 1.8: +2 -1
lines
Diff to previous 1.8 (colored) to selected 1.151 (colored)
implement (hack in) symbol (function and variable) renaming, so that the function renaming tricks currently needed by libc can be tolerated by lint. This needs some cleanup, but it appears to work.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 27 20:46:23 1996 UTC (27 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.7: +7 -7
lines
Diff to previous 1.7 (colored) to selected 1.151 (colored)
Splice a union in the type data structure. Some of the members can be `in use' simultaneously, e.g. an enumerated bit-field.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 22 11:31:07 1996 UTC (27 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.6: +12 -1
lines
Diff to previous 1.6 (colored) to selected 1.151 (colored)
* recognize that pointers to identical unnamed and untyped structs, unions, and enums are, in fact, identical. This is done by tagging each of unnamed and untyped structure, union and enum with a unique position of creation, which is used as a unique identifier that when determine whether or not a pair of structures, unions, or enums are identical.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 2 17:31:41 1995 UTC (28 years, 6 months ago) by jpo
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored) to selected 1.151 (colored)
don't print warnings about unused variables or arguments in compound statements which contain asm statements.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 2 17:21:39 1995 UTC (28 years, 6 months ago) by jpo
Branch: MAIN
Changes since 1.4: +1 -2
lines
Diff to previous 1.4 (colored) to selected 1.151 (colored)
prototypes override old style function definitions this is a gnu extension to ansi c
Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 2 17:14:35 1995 UTC (28 years, 6 months ago) by jpo
Branch: MAIN
Changes since 1.3: +5 -2
lines
Diff to previous 1.3 (colored) to selected 1.151 (colored)
added inline keywords "inline" is enabled by -g, "__inline" and "__inline__" are always available
Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 2 17:08:40 1995 UTC (28 years, 6 months ago) by jpo
Branch: MAIN
Changes since 1.2: +26 -26
lines
Diff to previous 1.2 (colored) to selected 1.151 (colored)
prefixed members of dinfo_t with 'd_'
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 3 21:24:21 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored) to selected 1.151 (colored)
RCS id cleanup
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Jul 3 20:56:37 1995 UTC (28 years, 9 months ago) by cgd
Branch: Jochen_Pohl
CVS Tags: Jochen_Pohl-950703
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored) to selected 1.151 (colored)
lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar reason to why 'install' is named 'xinstall'.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 3 20:56:37 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Diff to selected 1.151 (colored)
Initial revision