Module Name:src
Committed By: rillig
Date: Mon Jul 10 14:13:19 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: chk.c msg.c read.c
Log Message:
lint: push memory management one layer down
Just as with type_name in lint1, it is more convenient if the
application code
Module Name:src
Committed By: rillig
Date: Mon Jul 10 14:13:19 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: chk.c msg.c read.c
Log Message:
lint: push memory management one layer down
Just as with type_name in lint1, it is more convenient if the
application code
Module Name:src
Committed By: rillig
Date: Mon Jul 10 12:40:22 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: chk.c externs2.h hash.c lint2.h main2.c msg.c
read.c
Log Message:
lint: clean up lint2
To generate a diff of this commit:
cvs rdiff -u -r1.57
Module Name:src
Committed By: rillig
Date: Mon Jul 10 12:40:22 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: chk.c externs2.h hash.c lint2.h main2.c msg.c
read.c
Log Message:
lint: clean up lint2
To generate a diff of this commit:
cvs rdiff -u -r1.57
Module Name:src
Committed By: rillig
Date: Tue Feb 21 19:32:55 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: main2.c
Log Message:
lint: return instead of calling exit from main
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27
Module Name:src
Committed By: rillig
Date: Tue Feb 21 19:32:55 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: main2.c
Log Message:
lint: return instead of calling exit from main
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27
Module Name:src
Committed By: rillig
Date: Fri Jan 13 19:50:00 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: Makefile externs2.h read.c
Removed Files:
src/usr.bin/xlint/lint2: mem2.c
Log Message:
lint: move xalloc to the only file where it is used
No
Module Name:src
Committed By: rillig
Date: Fri Jan 13 19:50:00 UTC 2023
Modified Files:
src/usr.bin/xlint/lint2: Makefile externs2.h read.c
Removed Files:
src/usr.bin/xlint/lint2: mem2.c
Log Message:
lint: move xalloc to the only file where it is used
No
Module Name:src
Committed By: rillig
Date: Thu Apr 21 21:09:13 UTC 2022
Modified Files:
src/usr.bin/xlint/lint2: chk.c
Log Message:
lint: expand the last remaining __arraycount
For consistency with the other expressions for an array length, which
already use the expanded
Module Name:src
Committed By: rillig
Date: Thu Apr 21 21:09:13 UTC 2022
Modified Files:
src/usr.bin/xlint/lint2: chk.c
Log Message:
lint: expand the last remaining __arraycount
For consistency with the other expressions for an array length, which
already use the expanded
Module Name:src
Committed By: rillig
Date: Sun Dec 19 10:42:36 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove redundant braces
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75
Module Name:src
Committed By: rillig
Date: Sun Dec 19 10:42:36 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove redundant braces
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75
Module Name:src
Committed By: rillig
Date: Sun Dec 19 10:29:06 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: reduce pointer usage when reading .ln lines
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74
Module Name:src
Committed By: rillig
Date: Sun Dec 19 10:29:06 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: reduce pointer usage when reading .ln lines
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74
Module Name:src
Committed By: rillig
Date: Sun Dec 19 10:19:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove unused parameter in read_ln_line
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73
Module Name:src
Committed By: rillig
Date: Sun Dec 19 10:19:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove unused parameter in read_ln_line
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73
Module Name:src
Committed By: rillig
Date: Sun Nov 28 08:21:50 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: move fgetln peculiarities out of read_ln_line
This allows the function parameter to be a pointer to const.
No functional change.
Module Name:src
Committed By: rillig
Date: Sun Nov 28 08:21:50 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: move fgetln peculiarities out of read_ln_line
This allows the function parameter to be a pointer to const.
No functional change.
Module Name:src
Committed By: rillig
Date: Tue Nov 16 22:12:44 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: chk.c emit2.c read.c
Log Message:
lint: clean up lint2
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46
Module Name:src
Committed By: rillig
Date: Tue Nov 16 22:12:44 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: chk.c emit2.c read.c
Log Message:
lint: clean up lint2
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46
Module Name:src
Committed By: rillig
Date: Tue Nov 16 22:03:12 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: externs2.h hash.c main2.c read.c
Log Message:
lint: clean up initialization of lint2 symbol table
No functional change.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Tue Nov 16 22:03:12 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: externs2.h hash.c main2.c read.c
Log Message:
lint: clean up initialization of lint2 symbol table
No functional change.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Fri Sep 10 21:05:08 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: check-msgs.lua
Log Message:
tests/lint: align message checker for lint2 to the one from lint1
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Fri Sep 10 21:05:08 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: check-msgs.lua
Log Message:
tests/lint: align message checker for lint2 to the one from lint1
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Sun Sep 5 19:58:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove source code references from internal error message
The additional strings that are provided with the error message are
Module Name:src
Committed By: rillig
Date: Sun Sep 5 19:58:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove source code references from internal error message
The additional strings that are provided with the error message are
Module Name:src
Committed By: rillig
Date: Sun Sep 5 19:44:57 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: extract function for reading a single line from a .ln file
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sun Sep 5 19:44:57 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: extract function for reading a single line from a .ln file
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Sep 4 19:16:38 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: reduce complexity of reading a function call
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64
Module Name:src
Committed By: rillig
Date: Sat Sep 4 19:16:38 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: reduce complexity of reading a function call
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64
Module Name:src
Committed By: rillig
Date: Sat Sep 4 18:49:33 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: emit2.c
Log Message:
lint: condense code for writing to a lint library
Same as in lint1.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sat Sep 4 18:49:33 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: emit2.c
Log Message:
lint: condense code for writing to a lint library
Same as in lint1.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Mon Aug 30 21:35:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: extract parse_function_attribute from decldef
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63
Module Name:src
Committed By: rillig
Date: Mon Aug 30 21:35:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: extract parse_function_attribute from decldef
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63
Module Name:src
Committed By: rillig
Date: Mon Aug 30 20:20:20 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove redundant call to strchr in decldef
This time, the branches for varargs, printflike and scanflike in the big
switch statement
Module Name:src
Committed By: rillig
Date: Mon Aug 30 20:20:20 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove redundant call to strchr in decldef
This time, the branches for varargs, printflike and scanflike in the big
switch statement
Module Name:src
Committed By: christos
Date: Mon Aug 30 18:03:52 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
Move the character one back so that we don't increment twice
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60
Module Name:src
Committed By: christos
Date: Mon Aug 30 18:03:52 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
Move the character one back so that we don't increment twice
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60
Module Name:src
Committed By: christos
Date: Mon Aug 30 14:57:04 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
Skip the current character before parsing the number of arguments.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59
Module Name:src
Committed By: christos
Date: Mon Aug 30 14:57:04 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
Skip the current character before parsing the number of arguments.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59
Module Name:src
Committed By: rillig
Date: Sun Aug 29 10:18:17 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove redundant call to strchr
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/xlint/lint2/read.c
Module Name:src
Committed By: rillig
Date: Sun Aug 29 10:18:17 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: remove redundant call to strchr
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/xlint/lint2/read.c
Module Name:src
Committed By: rillig
Date: Sun Aug 29 10:13:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: chk.c emit2.c lint2.h read.c
Log Message:
lint: un-abbreviate members of sym_t
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.44
Module Name:src
Committed By: rillig
Date: Sun Aug 29 10:13:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: chk.c emit2.c lint2.h read.c
Log Message:
lint: un-abbreviate members of sym_t
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.44
Module Name:src
Committed By: rillig
Date: Sun Aug 29 09:48:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: lint2.h
Log Message:
lint: in debug mode, use proper type for sym_t.s_def
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18
Module Name:src
Committed By: rillig
Date: Sun Aug 29 09:48:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: lint2.h
Log Message:
lint: in debug mode, use proper type for sym_t.s_def
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18
Module Name:src
Committed By: rillig
Date: Sat Aug 28 19:00:55 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: hash.c
Log Message:
lint: fix memory leak in symtab_forall_sorted (since today)
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20
Module Name:src
Committed By: rillig
Date: Sat Aug 28 19:00:55 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: hash.c
Log Message:
lint: fix memory leak in symtab_forall_sorted (since today)
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20
Module Name:src
Committed By: rillig
Date: Sat Aug 28 17:11:19 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: emit2.c externs2.h hash.c main2.c
Log Message:
lint: remove unused parameter from forall
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sat Aug 28 17:11:19 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: emit2.c externs2.h hash.c main2.c
Log Message:
lint: remove unused parameter from forall
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sun Aug 22 13:21:48 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: clean up error handling in lint2
These are edge cases that don't happen in practice, therefore reduce the
size of the binary.
To
Module Name:src
Committed By: rillig
Date: Sun Aug 22 13:21:48 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: clean up error handling in lint2
These are edge cases that don't happen in practice, therefore reduce the
size of the binary.
To
Module Name:src
Committed By: rillig
Date: Sun Aug 22 12:32:13 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: simplify reading of type qualifiers in lint2
The only producer of .ln files is lint1, which always writes the type
qualifiers in the
Module Name:src
Committed By: rillig
Date: Sun Aug 22 12:32:13 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: simplify reading of type qualifiers in lint2
The only producer of .ln files is lint1, which always writes the type
qualifiers in the
Module Name:src
Committed By: rillig
Date: Sun Aug 22 12:25:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: clean up switch statements in gettlen
Since the switch statements are only about tagged and derived types,
there is no need to list
Module Name:src
Committed By: rillig
Date: Sun Aug 22 12:25:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: clean up switch statements in gettlen
Since the switch statements are only about tagged and derived types,
there is no need to list
Module Name:src
Committed By: rillig
Date: Sun Aug 22 12:15:38 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: lint2.h read.c
Log Message:
lint: convert TP from macro to inline function
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.14
Module Name:src
Committed By: rillig
Date: Sun Aug 22 12:15:38 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: lint2.h read.c
Log Message:
lint: convert TP from macro to inline function
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.14
Module Name:src
Committed By: rillig
Date: Sun Aug 22 11:57:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: extract parse_tspec from inptype
Add error handling for unknown type character, which led to read of
uninitialized memory before.
Module Name:src
Committed By: rillig
Date: Sun Aug 22 11:57:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: extract parse_tspec from inptype
Add error handling for unknown type character, which led to read of
uninitialized memory before.
Module Name:src
Committed By: rillig
Date: Sun Aug 22 04:43:44 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: chk.c externs2.h main2.c
Log Message:
lint: constify lint2 checking functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.43
Module Name:src
Committed By: rillig
Date: Sun Aug 22 04:43:44 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: chk.c externs2.h main2.c
Log Message:
lint: constify lint2 checking functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.43
Module Name:src
Committed By: christos
Date: Thu Jan 14 16:58:27 UTC 2010
Modified Files:
src/usr.bin/xlint/lint2: chk.c main2.c
Log Message:
Add a list of functions where we usually don't care about their return
code. Can be bypassed by -hh
To generate a diff of this
63 matches
Mail list logo