christos
e305f86ab5
add more attributes
2014-04-21 21:52:24 +00:00
christos
1be8982a73
add asm function renames
2014-04-21 18:57:20 +00:00
christos
39d78ca60c
fix asm() misclassification
2014-04-21 18:57:07 +00:00
christos
9b2bca8f70
add more places where attribute is valid.
2014-04-18 21:54:52 +00:00
christos
719ac47d5d
provide a poor man's fmemopen()
2014-04-18 21:53:44 +00:00
christos
f1ed7fe14d
remove attribute keyword
2014-04-18 02:41:32 +00:00
christos
04a020c93e
handle constant attribute
2014-04-18 02:41:17 +00:00
christos
0d1cbc6a00
don't include fmemopen in tools builds. Since tools does not define
...
_NETBSD_SOURCE, we don't get the fmemopen prototype
2014-04-18 02:17:14 +00:00
christos
c8b1f28fd2
Never return the attribute keywords if we are not in attribute.
2014-04-18 01:39:57 +00:00
christos
1f0ca5f12c
builtins only for NetBSD since fmemopen is not portable.
2014-04-18 01:18:54 +00:00
christos
31ce3096fd
Add some builtins
2014-04-18 01:15:07 +00:00
christos
687432e7a3
Handle the rest of gcc __attribute__ s.
2014-04-18 00:23:46 +00:00
christos
59bbfbb11d
only fill memory with junk if BLKDEBUG
2014-04-18 00:21:14 +00:00
christos
a46cc2f317
handle LDOUBLE
2014-04-18 00:20:37 +00:00
christos
20ba703761
make outname print where it came from in case of error
2014-04-17 18:52:03 +00:00
christos
10e73b5c30
- add a function to dump a node
...
- better diagnostics on abort
- allow converting a constant
- initialize right node now that we trash memory this makes a difference.
before it was NULL.
2014-04-17 18:23:18 +00:00
christos
e34b25460d
typeof and extension don't need parens
2014-04-17 17:29:24 +00:00
christos
f87049800a
Trash freed memory so we catch bad uses.
2014-04-17 16:30:05 +00:00
christos
8a20351779
Don't free memory; it is used later.
2014-04-17 16:29:26 +00:00
dholland
1c111fd5cf
typo in comment
2014-03-23 04:58:16 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
christos
34fd6c876e
add __extension__ and typeof
2014-02-18 22:01:36 +00:00
christos
a675eb32ca
__real__ and __imag__ produce lvalues
2014-02-18 20:43:36 +00:00
njoly
a935b103a7
Handle another declaration after statement case for lint in c99 mode.
...
Add the corresponding testcase.
2014-02-04 08:08:59 +00:00
christos
9db3fbf52f
Checking _LP64 to determine the size of the built binary is just wrong. We
...
build n32 by default on mips64 now, we don't handle the compat build which
is n64. This is the same case for sparc64/sparc and amd64/i386 (lint does
not run in compat)
2014-01-24 00:17:33 +00:00
christos
3e99fec0fb
empty init_decl {} is valid
2014-01-16 00:43:43 +00:00
christos
a54bed1665
downgrade illegal bitfield from error to warning so we can ignore it.
2013-12-15 03:43:37 +00:00
christos
8dda6b583e
fix sequence point violations
2013-10-18 20:46:09 +00:00
matt
c9855651f8
Add stub port for evbcf which has enough to do a distribution build.
2013-07-18 22:08:59 +00:00
christos
05f0356f93
commit test
2013-05-10 15:41:44 +00:00
christos
386c53c1fd
cvs test
2013-05-10 15:40:21 +00:00
christos
913c2b066a
sort
2013-05-10 15:31:22 +00:00
christos
ba8c9169d1
make NOSTRICT behave the same a LINTED; use the new format.
2013-04-19 18:51:14 +00:00
christos
4d5c8627ad
document LINTEDn
2013-04-19 18:46:50 +00:00
christos
32c6bb3802
Allow linted comments to take an argument that defines which error to suppress.
2013-04-19 17:43:05 +00:00
christos
c71dc22c13
obey constcond to !constcond
2013-03-02 21:25:12 +00:00
christos
47281a37ea
rename enum_t to avoid rpc/types.h lossage.
2013-02-17 01:26:19 +00:00
matt
755e896fd8
Make mips64e[bl] check more generic.
2013-01-28 14:25:18 +00:00
christos
d28b45a4f8
better to print (null) than core-dump
2012-06-20 18:50:11 +00:00
christos
e0f6e43eb5
add __PRETTY_FUNCTION__
2012-04-20 18:35:28 +00:00
macallan
1b769feadc
XXX
...
Don't assume LP64 unless lint itself is built as LP64
On mips64 we default to n32 which produces errors when things like
TARG_LONG_MAX don't fit into a long
A proper fix would be to teach lint about different target ABIs so it can
pick the right parameters, this is just a bandaid to make it slightly less
wrong and allow a mips64 build to complete.
2012-03-29 08:52:31 +00:00
christos
52ec92ba25
more cross lint friendlyness
...
XXX: needs more constants converted double/float
2012-03-27 19:24:01 +00:00
christos
ca07e01a36
-0 is not unary overflow.
2012-03-21 14:17:22 +00:00
skrll
d6c003a8de
Correct LDOUBLE_SIZE
2012-02-16 16:27:15 +00:00
christos
7ae009b5a7
fix the grammar conflict differently.
2011-12-25 20:11:22 +00:00
christos
8af1345344
correct debugging flags.
2011-12-25 01:05:44 +00:00
christos
1e73d755b4
PR/45666: Nicolas Joly: lint(1) wrong 'syntax error' message
2011-12-25 01:05:03 +00:00
njoly
def73a1f81
c99: do not warn about trailing comma in enum declaration.
2011-12-19 16:52:27 +00:00
mbalmer
2790b28f0e
Fix typo in comment.
2011-10-17 16:31:14 +00:00
christos
c6a6b07331
Handle c99 declarations in the middle of blocks.
2011-10-04 16:19:59 +00:00