platform_bionic/libc/kernel/uapi/asm-generic
Elliott Hughes 40596aa005 Make cpp.py less braindead.
The old code ignored operator precedence (!), despite having two tables
of operator precedence. The code's still pretty awful, but I've cleaned
it up enough to fix this, the most important bug.

This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files,
and also fixes the mess we were already making of various old kernel
header files. I've added a bunch more tests, fixed the existing tests that
the existing script was already failing (!), and changed the script so that
the tests are run every time the script is run.

We can probably remove some of the old kernel header files that we were
parsing incorrectly, but we can worry about that later.

Bug: 11253477
Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
2013-11-06 12:04:48 -08:00
..
auxvec.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
bitsperlong.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
errno-base.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
errno.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
fcntl.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
int-l64.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
int-ll64.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
ioctl.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
ioctls.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
ipcbuf.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
kvm_para.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
mman-common.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
mman.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
msgbuf.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
param.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
poll.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
posix_types.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
resource.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
sembuf.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
setup.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
shmbuf.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
shmparam.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
siginfo.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
signal-defs.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
signal.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
socket.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
sockios.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
stat.h Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
statfs.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
swab.h Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
termbits.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
termios.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
types.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
ucontext.h Add processed uapi kernel headers (common and aarch64-specific) 2013-10-16 16:09:24 -07:00
unistd.h Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00