christos
|
b6b0a28bae
|
use asprintf().
|
2020-02-10 04:54:01 +00:00 |
|
fox
|
126c439986
|
usr.bin/xlint: Fix -Werror=format-overflow= error.
Replace sprintf(3) with snprintf(3).
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
|
2020-02-09 08:10:25 +00:00 |
|
joerg
|
76c7fc5f6b
|
Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
|
2019-11-11 22:44:56 +00:00 |
|
christos
|
dbeaf00305
|
Understand _Alignof
|
2019-11-09 19:54:09 +00:00 |
|
christos
|
3876b93077
|
Fix decorators for __thread, add _Thread_local
christos
|
2019-09-05 20:12:11 +00:00 |
|
christos
|
a713a1068c
|
allow c9x struct casts (in new libXt)
|
2019-07-12 23:32:45 +00:00 |
|
christos
|
af2b31c5c0
|
Undefine SSE stuff; we don't want portable code to depend on it and we
don't provide the necessary headers.
|
2019-04-13 15:08:49 +00:00 |
|
christos
|
8238435d7e
|
Add __thread/tls_model attribute
|
2019-03-04 17:45:16 +00:00 |
|
christos
|
8504f123fd
|
add a two argument version of alloc_size
|
2019-03-04 15:28:18 +00:00 |
|
christos
|
54f8cd1eb6
|
add gnu_printf
|
2019-03-04 15:26:18 +00:00 |
|
christos
|
0c4ae0a48a
|
Add more gnu attributes
|
2019-03-03 23:06:08 +00:00 |
|
christos
|
681a027a82
|
recognize destructor attribute.
|
2019-01-04 18:51:23 +00:00 |
|
christos
|
876968801f
|
yydebug is now available only if YYDEBUG is set.
|
2018-12-23 19:09:03 +00:00 |
|
christos
|
51c91e52e5
|
add warn_unused_result.
|
2018-11-24 13:10:20 +00:00 |
|
scole
|
4c8f1ccfba
|
PR toolchain/53710
allow 64bit target to compile on 32bit host
Ok'ed by <christos>
|
2018-11-16 20:49:08 +00:00 |
|
christos
|
a0e7897afd
|
Disable __int128 checks if we are not building on a 64 bit host (
this is suboptimal, but it is the easiest way).
|
2018-10-07 14:20:01 +00:00 |
|
christos
|
0909701cc6
|
recognize int128
|
2018-09-07 15:16:15 +00:00 |
|
christos
|
6cd09489aa
|
support deprecated("string") for libpcap
|
2018-09-03 15:16:33 +00:00 |
|
christos
|
f4654072f5
|
recognize noinline attribute
|
2018-07-08 17:48:42 +00:00 |
|
christos
|
9f321dce94
|
Add our syslog format.
|
2018-06-29 20:18:36 +00:00 |
|
christos
|
8910c94cf4
|
add missing args for 123
|
2018-06-29 20:18:05 +00:00 |
|
christos
|
632b456bd3
|
fix indent
|
2018-01-15 22:14:24 +00:00 |
|
christos
|
fbbe58556f
|
Add a _Noreturn token
|
2018-01-15 21:58:54 +00:00 |
|
christos
|
541fa6f429
|
Don't print duplicate definitions for inline symbols.
|
2017-12-26 17:02:19 +00:00 |
|
christos
|
98fc723392
|
Accept PTR for addtype
|
2017-03-06 23:04:52 +00:00 |
|
christos
|
23620f03df
|
fix typeof, add __builtin_offsetof
|
2017-03-06 21:01:39 +00:00 |
|
christos
|
0c480e0900
|
handle typeof in casts
|
2017-03-06 11:58:31 +00:00 |
|
christos
|
40465f45bf
|
leave pragmas alone.
|
2017-01-15 21:10:24 +00:00 |
|
christos
|
d106d90e70
|
add pcs
|
2017-01-07 18:28:49 +00:00 |
|
christos
|
c9601077e7
|
- add buffer bounded attribute
- allow empty attributes
|
2016-12-30 19:53:08 +00:00 |
|
christos
|
4f56be094e
|
sort, kill typo
|
2016-12-30 03:36:51 +00:00 |
|
christos
|
b79407b5a4
|
add bounded, fix nonnull
|
2016-12-30 02:16:36 +00:00 |
|
christos
|
3e691a5244
|
fix __typeof
|
2016-12-30 00:57:10 +00:00 |
|
christos
|
b29ce927f5
|
handle __ symbols differently (so we don't duplicate entries in the table)
and add non_null.
|
2016-12-29 23:54:29 +00:00 |
|
christos
|
ab5bdf51ae
|
only return attributes if looking for attributes
|
2016-12-29 19:40:35 +00:00 |
|
christos
|
9ef948be1d
|
allow cascaded attributes
|
2016-12-29 19:40:21 +00:00 |
|
christos
|
a4c7faa796
|
Add alias attribute
|
2016-12-29 18:44:49 +00:00 |
|
christos
|
28617f6731
|
Add always_inline
|
2016-12-29 18:37:32 +00:00 |
|
christos
|
8deef5e5f2
|
Add more attributes.
|
2016-12-29 16:41:16 +00:00 |
|
christos
|
a6761f0073
|
accept optional type attributes after struct/union members
|
2016-12-29 16:01:46 +00:00 |
|
christos
|
502c644dd9
|
teach lint __attribute__((__unused__))
|
2016-12-27 21:52:35 +00:00 |
|
wiz
|
d2bf829be4
|
Whitespace, sort, remove some superfluous macros/quoting.
|
2016-12-25 11:10:53 +00:00 |
|
christos
|
90c8a9f073
|
Add -R (source filename remapping) for MKREPRO
|
2016-12-24 17:43:45 +00:00 |
|
christos
|
b3ba15e2be
|
Add _Generic C11 support.
|
2016-11-05 01:09:30 +00:00 |
|
kamil
|
f26cf4cb48
|
Prefer modern simple past tense and past participle of catch
The "catched" form is obsolete and nonstandard, prefer "caught".
|
2016-11-03 22:08:30 +00:00 |
|
sevan
|
39bbc68a3b
|
Drop main() prototype.
|
2016-09-05 00:40:28 +00:00 |
|
christos
|
c634867ea2
|
compute anonymous bitfield sizes properly.
|
2016-08-23 16:42:55 +00:00 |
|
christos
|
b8f79638e1
|
Don't warn about empty structs twice.
|
2016-08-19 11:51:27 +00:00 |
|
christos
|
175128e719
|
be less aggressive in clearing blocks to protect against:
int
main(int argc, char *argv[])
{
int rv;
if ((rv = ({ int _ret = 1; if (argc == 1) {} _ret; })) != 0)
printf("%d\n", rv);
return 0;
}
|
2016-08-19 10:58:15 +00:00 |
|
christos
|
ab22712dbd
|
Add union casts.
|
2016-08-19 10:19:45 +00:00 |
|