Commit Graph

432 Commits

Author SHA1 Message Date
christos 27de1fdbf3 build ops.h first, because trying to build dependencies and ops.h at the
same time leads to spurious failures.
2015-04-04 19:32:06 +00:00
christos 60a029958d accept typenames in param decls. 2015-04-03 21:40:04 +00:00
christos 95f20280d9 Treat complex numbers like other floating numbers. This caused a core-dump
when linting libm complex code and assumed the size of the type larger than
the array size of value bitmaps.
2015-02-09 18:17:34 +00:00
christos bf68803d37 allow c99 flexible arrays for packed structures. 2014-11-20 21:17:18 +00:00
christos caa0961bff Always set i_brace in the struct case.
Cleanup some debugging.
2014-11-20 20:49:06 +00:00
christos a6210a763e add LDEBUG 2014-11-20 20:48:33 +00:00
snj f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
christos 6d997ca05e oops I terminated the block too early (thanks unit tests!) 2014-09-26 15:26:01 +00:00
christos b6701ee132 make for introduce a new block level for c99 decls. 2014-09-26 01:20:00 +00:00
matt 6cf6fe02a9 New files for Userland support of UCB RISC-V (both 32-bit and 64-bit) 2014-09-19 17:36:24 +00:00
matt 27620987b8 New files for OR1K support 2014-09-03 19:34:25 +00:00
matt beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
dholland 3363cdd991 typo in comment 2014-07-20 23:00:49 +00:00
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