History log of /src/usr.bin/xlint/lint2/lint2.h |
Revision | | Date | Author | Comments |
1.30 |
| 24-May-2025 |
rillig | lint: constify
|
1.29 |
| 16-May-2025 |
rillig | lint: clean up
|
1.28 |
| 27-Feb-2025 |
rillig | lint: normalize whitespace
|
1.27 |
| 03-Dec-2023 |
rillig | 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.
|
1.26 |
| 03-Dec-2023 |
rillig | lint: re-wrap comments
No functional change.
|
1.25 |
| 03-Dec-2023 |
rillig | lint: move function body brace to the left
No functional change.
|
1.24 |
| 13-Jul-2023 |
rillig | lint: indent copyright lines consistently
|
1.23 |
| 10-Jul-2023 |
rillig | lint: clean up lint2
|
1.22 |
| 07-Feb-2022 |
rillig | 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.
|
1.21 |
| 22-Dec-2021 |
rillig | lint: remove spaces around bit-field colon
As seen in /usr/share/misc/style.
No binary change.
|
1.20 |
| 01-Nov-2021 |
rillig | 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.
|
1.19 |
| 29-Aug-2021 |
rillig | lint: un-abbreviate members of sym_t
No functional change.
|
1.18 |
| 29-Aug-2021 |
rillig | lint: in debug mode, use proper type for sym_t.s_def
|
1.17 |
| 28-Aug-2021 |
rillig | lint: un-abbreviate unsigned integer types
No functional change.
|
1.16 |
| 22-Aug-2021 |
rillig | 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.
|
1.15 |
| 22-Aug-2021 |
rillig | lint: convert TP from macro to inline function
No functional change.
|
1.14 |
| 10-Apr-2021 |
rillig | 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.
|
1.13 |
| 19-Feb-2021 |
rillig | lint: rename t_isenum and t_aincompl to be more expressive
No functional change.
|
1.12 |
| 02-Jan-2021 |
rillig | lint: use bool instead of u_int:1 in structures
Better late than never.
|
1.11 |
| 30-Dec-2020 |
rillig | lint: rename more _nxt members to _next
|
1.10 |
| 30-Dec-2020 |
rillig | lint: rename s_nxt to s_next
|
1.9 |
| 29-Dec-2020 |
rillig | lint: fix typo in comments
|
1.8 |
| 26-Dec-2017 |
christos | Don't print duplicate definitions for inline symbols.
|
1.7 |
| 07-Apr-2005 |
christos | 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.
|
1.6 |
| 28-May-2001 |
lukem | cleanup (prior to more adding more features): - convert to ANSI KNF - remove trailing whitespace - translate some comments from german into english
code compiles and runs clean, and tested by running "make lint" against xlint source using previous and this lint produces same results.
|
1.5 |
| 14-Jun-2000 |
cgd | fix up NetBSD RCS Ids to match the standard, and the leading comment as to match as well. No functional changes.
|
1.4 |
| 03-Nov-1997 |
cgd | branches: 1.4.8; 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.
|
1.3 |
| 22-Dec-1996 |
cgd | branches: 1.3.2; * 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.
|
1.2 |
| 03-Jul-1995 |
cgd | RCS id cleanup
|
1.1 |
| 03-Jul-1995 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 03-Jul-1995 |
cgd | lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar reason to why 'install' is named 'xinstall'.
|
1.3.2.1 |
| 04-Nov-1997 |
thorpej | Pull up from trunk: make renaming work and other minor fixes.
|
1.4.8.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|