Module Name:src
Committed By: rillig
Date: Sat Sep 4 12:30:46 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y check-msgs.lua decl.c func.c init.c
tree.c
Log Message:
lint: spell out abbreviations in comments
No functional change.
To generate a
Module Name:src
Committed By: rillig
Date: Sat Sep 4 12:30:46 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y check-msgs.lua decl.c func.c init.c
tree.c
Log Message:
lint: spell out abbreviations in comments
No functional change.
To generate a
Module Name:src
Committed By: rillig
Date: Sat Sep 4 12:05:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: split declare_local into smaller functions
To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229
Module Name:src
Committed By: rillig
Date: Sat Sep 4 12:05:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: split declare_local into smaller functions
To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229
Module Name:src
Committed By: rillig
Date: Sat Sep 4 10:09:19 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: sort operators in typeok_op according to ops.def
Well, except for INIT, FARG, RETURN. These are listed at the very
bottom of the
Module Name:src
Committed By: rillig
Date: Sat Sep 4 10:09:19 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: sort operators in typeok_op according to ops.def
Well, except for INIT, FARG, RETURN. These are listed at the very
bottom of the
Module Name:src
Committed By: rillig
Date: Sat Sep 4 09:45:27 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract typeok_point and typeok_arrow from typeok_op
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.374
Module Name:src
Committed By: rillig
Date: Sat Sep 4 09:45:27 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract typeok_point and typeok_arrow from typeok_op
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.374
Module Name:src
Committed By: rillig
Date: Sat Sep 4 09:26:22 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up switch statement in typeok_op
In the old times where typeok_op was inlined into typeok, it was
necessary to write the
Module Name:src
Committed By: rillig
Date: Sat Sep 4 09:26:22 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up switch statement in typeok_op
In the old times where typeok_op was inlined into typeok, it was
necessary to write the
Module Name:src
Committed By: rillig
Date: Sat Sep 4 09:18:25 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: make typeok_quest simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.372 -r1.373
Module Name:src
Committed By: rillig
Date: Sat Sep 4 09:18:25 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: make typeok_quest simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.372 -r1.373
Module Name:src
Committed By: rillig
Date: Fri Sep 3 22:27:32 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract build_name_call from build_name
This reduces the indentation, providing enough space to write out the
full diagnostic in the
Module Name:src
Committed By: rillig
Date: Fri Sep 3 22:27:32 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract build_name_call from build_name
This reduces the indentation, providing enough space to write out the
full diagnostic in the
Module Name:src
Committed By: rillig
Date: Thu Sep 2 20:10:17 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: split check_expr_misc into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.369
Module Name:src
Committed By: rillig
Date: Thu Sep 2 20:10:17 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: split check_expr_misc into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.369
Module Name:src
Committed By: rillig
Date: Thu Sep 2 19:19:18 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: split check_assign_types_compatible into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Thu Sep 2 19:19:18 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: split check_assign_types_compatible into separate functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Thu Sep 2 16:31:01 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: move a condition into should_warn_about_prototype_conversion
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Thu Sep 2 16:31:01 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: move a condition into should_warn_about_prototype_conversion
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Thu Sep 2 16:16:49 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up should_warn_about_prototype_conversion
To generate a diff of this commit:
cvs rdiff -u -r1.365 -r1.366
Module Name:src
Committed By: rillig
Date: Thu Sep 2 16:16:49 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up should_warn_about_prototype_conversion
To generate a diff of this commit:
cvs rdiff -u -r1.365 -r1.366
Module Name:src
Committed By: rillig
Date: Thu Sep 2 07:04:41 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c
Log Message:
lint: fix typo in assertion
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/xlint/lint1/emit1.c
Please note
Module Name:src
Committed By: rillig
Date: Thu Sep 2 07:04:41 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c
Log Message:
lint: fix typo in assertion
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/xlint/lint1/emit1.c
Please note
Module Name:src
Committed By: rillig
Date: Wed Sep 1 06:48:24 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove array creation from expr_derive_type
It is only used for creating string types. The creation of other array
types happens in
Module Name:src
Committed By: rillig
Date: Wed Sep 1 06:48:24 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove array creation from expr_derive_type
It is only used for creating string types. The creation of other array
types happens in
Module Name:src
Committed By: rillig
Date: Tue Aug 31 23:10:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c
Log Message:
lint: reduce verbose switch statement to table lookup
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.52
Module Name:src
Committed By: rillig
Date: Tue Aug 31 23:10:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c
Log Message:
lint: reduce verbose switch statement to table lookup
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.52
Module Name:src
Committed By: rillig
Date: Tue Aug 31 19:17:46 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract condition for message 259 into separate function
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Tue Aug 31 19:17:46 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract condition for message 259 into separate function
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Tue Aug 31 17:51:30 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: err.c externs1.h lint1.h
Log Message:
lint: remove unused function for generic messages
The function message_at is still used, for information about previous
Module Name:src
Committed By: rillig
Date: Tue Aug 31 17:51:30 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: err.c externs1.h lint1.h
Log Message:
lint: remove unused function for generic messages
The function message_at is still used, for information about previous
Module Name:src
Committed By: rillig
Date: Sun Aug 29 16:17:08 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: treat _mm_ as builtin function name prefix for all compilers
This prefix is not specific to GCC, it is also known by the Intel C
Module Name:src
Committed By: rillig
Date: Sun Aug 29 16:17:08 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: treat _mm_ as builtin function name prefix for all compilers
This prefix is not specific to GCC, it is also known by the Intel C
Module Name:src
Committed By: rillig
Date: Sat Aug 28 21:14:32 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: remove unreachable code for parsing integer constants
The largest possible type of an integer constant is 'unsigned long
long'. Any
Module Name:src
Committed By: rillig
Date: Sat Aug 28 21:14:32 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: remove unreachable code for parsing integer constants
The largest possible type of an integer constant is 'unsigned long
long'. Any
Module Name:src
Committed By: rillig
Date: Sat Aug 28 18:58:24 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: replace obsolete strtouq with equivalent strtoull
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75
Module Name:src
Committed By: rillig
Date: Sat Aug 28 18:58:24 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: replace obsolete strtouq with equivalent strtoull
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75
Module Name:src
Committed By: rillig
Date: Sat Aug 28 16:51:57 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove double inversion from is_out_of_char_range
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.359
Module Name:src
Committed By: rillig
Date: Sat Aug 28 16:51:57 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove double inversion from is_out_of_char_range
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.359
Module Name:src
Committed By: rillig
Date: Sat Aug 28 16:43:50 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up check_integer_comparison
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.358 -r1.359
Module Name:src
Committed By: rillig
Date: Sat Aug 28 16:43:50 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up check_integer_comparison
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.358 -r1.359
Module Name:src
Committed By: rillig
Date: Sat Aug 28 15:36:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: merge duplicate code in convert_constant_floating
To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357
Module Name:src
Committed By: rillig
Date: Sat Aug 28 15:36:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: merge duplicate code in convert_constant_floating
To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357
Module Name:src
Committed By: rillig
Date: Sat Aug 28 15:01:43 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: fix lexing of character constants
The final value of the character constant must be determined by the
target platform, not the host
Module Name:src
Committed By: rillig
Date: Sat Aug 28 15:01:43 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: fix lexing of character constants
The final value of the character constant must be determined by the
target platform, not the host
Module Name:src
Committed By: rillig
Date: Sat Aug 28 13:11:10 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: externs1.h lex.c tree.c
Log Message:
lint: use 'unsigned int' for bit-size of types in convert_integer
There was no need to have two separate magic values (0
Module Name:src
Committed By: rillig
Date: Sat Aug 28 13:11:10 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: externs1.h lex.c tree.c
Log Message:
lint: use 'unsigned int' for bit-size of types in convert_integer
There was no need to have two separate magic values (0
Module Name:src
Committed By: rillig
Date: Sat Aug 28 12:41:03 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c externs1.h lint1.h
Log Message:
lint: fix a few lint warnings about type conversions
A simple 'unsigned int' is more than enough for representing the
Module Name:src
Committed By: rillig
Date: Sat Aug 28 12:41:03 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c externs1.h lint1.h
Log Message:
lint: fix a few lint warnings about type conversions
A simple 'unsigned int' is more than enough for representing the
Module Name:src
Committed By: rillig
Date: Sat Aug 28 12:29:40 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove redundant type casts from convert_constant_floating
Since tree.c 1.70 from 2012-03-27, lint has been using properly typed
Module Name:src
Committed By: rillig
Date: Sat Aug 28 12:29:40 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove redundant type casts from convert_constant_floating
Since tree.c 1.70 from 2012-03-27, lint has been using properly typed
Module Name:src
Committed By: rillig
Date: Sat Aug 28 12:06:09 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: clean up alignment_in_bits
The given type can never be NULL, and an array can never have NULL as
subtype.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Sat Aug 28 12:06:09 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: clean up alignment_in_bits
The given type can never be NULL, and an array can never have NULL as
subtype.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Wed Aug 25 22:48:40 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y lex.c
Log Message:
lint: add __attribute__ regparm
Seen in libexec/ld.elf_so/rtld.h.
To generate a diff of this commit:
cvs rdiff -u -r1.357 -r1.358
Module Name:src
Committed By: rillig
Date: Wed Aug 25 22:48:40 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y lex.c
Log Message:
lint: add __attribute__ regparm
Seen in libexec/ld.elf_so/rtld.h.
To generate a diff of this commit:
cvs rdiff -u -r1.357 -r1.358
Module Name:src
Committed By: rillig
Date: Wed Aug 25 22:00:27 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: rename local variable in plength
The assertion in build_plus_minus is safe since that function is only
called if the types are
Module Name:src
Committed By: rillig
Date: Wed Aug 25 22:00:27 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: rename local variable in plength
The assertion in build_plus_minus is safe since that function is only
called if the types are
Module Name:src
Committed By: rillig
Date: Mon Aug 23 17:03:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lint1.h tree.c
Log Message:
lint: expand macro in string concatenation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125
Module Name:src
Committed By: rillig
Date: Mon Aug 23 17:03:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lint1.h tree.c
Log Message:
lint: expand macro in string concatenation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125
Module Name:src
Committed By: rillig
Date: Mon Aug 23 06:32:31 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: make overflow check for binary '+' simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.348 -r1.349
Module Name:src
Committed By: rillig
Date: Mon Aug 23 06:32:31 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: make overflow check for binary '+' simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.348 -r1.349
Module Name:src
Committed By: rillig
Date: Mon Aug 23 06:26:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: externs1.h lex.c lint1.h
Log Message:
lint: inline msb
This reduces the binary size on x86_64 by about 500 bytes.
No functional change.
To generate a diff
Module Name:src
Committed By: rillig
Date: Mon Aug 23 06:26:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: externs1.h lex.c lint1.h
Log Message:
lint: inline msb
This reduces the binary size on x86_64 by about 500 bytes.
No functional change.
To generate a diff
Module Name:src
Committed By: rillig
Date: Mon Aug 23 06:21:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c externs1.h lex.c tree.c
Log Message:
lint: remove unnecessary width parameter for msb
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Mon Aug 23 06:21:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c externs1.h lex.c tree.c
Log Message:
lint: remove unnecessary width parameter for msb
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Sun Aug 22 21:27:15 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: debug.c lint1.h tree.c
Log Message:
lint: merge duplicate code for binary operator
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sun Aug 22 21:27:15 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: debug.c lint1.h tree.c
Log Message:
lint: merge duplicate code for binary operator
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Aug 21 11:27:27 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract check_prototype_conversion_integer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.343 -r1.344
Module Name:src
Committed By: rillig
Date: Sat Aug 21 11:27:27 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: extract check_prototype_conversion_integer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.343 -r1.344
Module Name:src
Committed By: rillig
Date: Sat Aug 21 08:39:01 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: rename local variable '1' in fold_float
It looked too similar to the number 1.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Aug 21 08:39:01 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: rename local variable '1' in fold_float
It looked too similar to the number 1.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Sat Aug 21 08:29:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: fix spacing in tree.c
To generate a diff of this commit:
cvs rdiff -u -r1.341 -r1.342 src/usr.bin/xlint/lint1/tree.c
Please note
Module Name:src
Committed By: rillig
Date: Sat Aug 21 08:29:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: fix spacing in tree.c
To generate a diff of this commit:
cvs rdiff -u -r1.341 -r1.342 src/usr.bin/xlint/lint1/tree.c
Please note
Module Name:src
Committed By: rillig
Date: Sat Aug 21 07:03:30 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: add missing newlines to grammar debug output
To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357
Module Name:src
Committed By: rillig
Date: Sat Aug 21 07:03:30 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: add missing newlines to grammar debug output
To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357
Module Name:src
Committed By: rillig
Date: Thu Aug 19 21:13:58 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c externs1.h lex.c tree.c
Log Message:
lint: change return type of 'msb' from int to bool
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Thu Aug 19 21:13:58 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c externs1.h lex.c tree.c
Log Message:
lint: change return type of 'msb' from int to bool
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Thu Aug 19 20:53:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up formatting of 'fold'
To generate a diff of this commit:
cvs rdiff -u -r1.338 -r1.339 src/usr.bin/xlint/lint1/tree.c
Module Name:src
Committed By: rillig
Date: Thu Aug 19 20:53:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up formatting of 'fold'
To generate a diff of this commit:
cvs rdiff -u -r1.338 -r1.339 src/usr.bin/xlint/lint1/tree.c
Module Name:src
Committed By: rillig
Date: Thu Aug 19 20:08:25 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: clean up lex_integer_constant
When lexing an integer constant, it does not make sense to check for
'struct', 'void' or other types.
Module Name:src
Committed By: rillig
Date: Thu Aug 19 20:08:25 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: clean up lex_integer_constant
When lexing an integer constant, it does not make sense to check for
'struct', 'void' or other types.
Module Name:src
Committed By: rillig
Date: Thu Aug 19 18:39:34 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: op.h
Log Message:
lint: un-abbreviate parameter names of macro
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint1/op.h
Module Name:src
Committed By: rillig
Date: Thu Aug 19 18:39:34 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: op.h
Log Message:
lint: un-abbreviate parameter names of macro
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint1/op.h
Module Name:src
Committed By: christos
Date: Thu Aug 19 08:59:22 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y lex.c
Log Message:
Add returns_nonnull attribute
To generate a diff of this commit:
cvs rdiff -u -r1.355 -r1.356 src/usr.bin/xlint/lint1/cgram.y
Module Name:src
Committed By: christos
Date: Thu Aug 19 08:59:22 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y lex.c
Log Message:
Add returns_nonnull attribute
To generate a diff of this commit:
cvs rdiff -u -r1.355 -r1.356 src/usr.bin/xlint/lint1/cgram.y
On 18.04.2021 16:12, Christos Zoulas wrote:
In article <20210418085205.10b75f...@cvs.netbsd.org>,
Roland Illig wrote:
-=-=-=-=-=-
Module Name:src
Committed By: rillig
Date: Sun Apr 18 08:52:04 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: err.c externs1.h lint1.h
In article <20210418085205.10b75f...@cvs.netbsd.org>,
Roland Illig wrote:
>-=-=-=-=-=-
>
>Module Name: src
>Committed By: rillig
>Date: Sun Apr 18 08:52:04 UTC 2021
>
>Modified Files:
> src/usr.bin/xlint/lint1: err.c externs1.h lint1.h
>
>Log Message:
>lint: add error_at,
On 09.01.2021 17:42, Martin Husemann wrote:
On Sat, Jan 09, 2021 at 05:15:12PM +0100, Roland Illig wrote:
I guess a simple "make clean && make" will clear up the situation.
Not quite, "make clean" will not remove the old ops.c file in the objdir,
you need to manually kill it (or just remove
On Sat, Jan 09, 2021 at 05:15:12PM +0100, Roland Illig wrote:
> I guess a simple "make clean && make" will clear up the situation.
Not quite, "make clean" will not remove the old ops.c file in the objdir,
you need to manually kill it (or just remove all lint objdirs completely).
Please add an
On 09.01.2021 12:42, Jared McNeill wrote:
Not sure if it is this exact change, but I am no longer able to build
tools on Ubuntu 20.04.1:
--- lint1 ---
# link lint1/lint1
/usr/bin/ld: ops.lo: in function `initmtab':
ops.c:(.text+0x63): undefined reference to `STRUCT_ASSIGN'
That's weird
Not sure if it is this exact change, but I am no longer able to build
tools on Ubuntu 20.04.1:
--- lint1 ---
# link lint1/lint1
cc -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/jmcneill/netbsd/cvs-src/obj/tooldir.Linux-5.8.0-34-generic-x86_64/include/compat
Module Name:src
Committed By: christos
Date: Sat Nov 9 19:54:09 UTC 2019
Modified Files:
src/usr.bin/xlint/lint1: scan.l
Log Message:
Understand _Alignof
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/usr.bin/xlint/lint1/scan.l
Please note that
Module Name:src
Committed By: christos
Date: Sat Nov 9 19:54:09 UTC 2019
Modified Files:
src/usr.bin/xlint/lint1: scan.l
Log Message:
Understand _Alignof
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/usr.bin/xlint/lint1/scan.l
Please note that
Module Name:src
Committed By: christos
Date: Thu Sep 5 20:12:11 UTC 2019
Modified Files:
src/usr.bin/xlint/lint1: scan.l
Log Message:
Fix decorators for __thread, add _Thread_local
christos
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90
Module Name:src
Committed By: christos
Date: Thu Sep 5 20:12:11 UTC 2019
Modified Files:
src/usr.bin/xlint/lint1: scan.l
Log Message:
Fix decorators for __thread, add _Thread_local
christos
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90
Module Name:src
Committed By: christos
Date: Fri Jul 12 23:32:45 UTC 2019
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
allow c9x struct casts (in new libXt)
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/xlint/lint1/tree.c
Module Name:src
Committed By: christos
Date: Fri Jul 12 23:32:45 UTC 2019
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
allow c9x struct casts (in new libXt)
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/xlint/lint1/tree.c
In article <20160721050113.ga1...@netbsd.org>,
David Holland wrote:
>On Wed, Jul 20, 2016 at 02:14:12PM -0400, Christos Zoulas wrote:
> > Modified Files:
> > src/usr.bin/xlint/lint1: cgram.y
> >
> > Log Message:
> > accept attributes in param decls
>
On Wed, Jul 20, 2016 at 02:14:12PM -0400, Christos Zoulas wrote:
> Modified Files:
> src/usr.bin/xlint/lint1: cgram.y
>
> Log Message:
> accept attributes in param decls
Parsing gcc attributes "correctly" (as in, where gcc accepts them) is
a trainwreck. Do we really want to bother
701 - 800 of 812 matches
Mail list logo