bionic/libc/kernel/common/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
..
bitops Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
4level-fixup.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
audit_dir_write.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
bitsperlong.h Add x86_64 to the bionic headers. 2013-09-30 18:42:13 -07:00
bug.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
cputime.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
emergency-restart.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
errno-base.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
errno.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
fcntl.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
futex.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ioctl.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ipc.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
local.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
memory_model.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
mman-common.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
mman.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
mutex-xchg.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
percpu.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pgtable-nopmd.h Add the cleaned kernel headers 2012-09-24 12:33:57 -07:00
pgtable-nopud.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
pgtable.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
poll.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
posix_types.h Add x86_64 to the bionic headers. 2013-09-30 18:42:13 -07:00
resource.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
sections.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
siginfo.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
signal.h Clean up trailing whitespace in the kernel headers. 2013-01-30 10:13:07 -08:00
socket.h Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
swab.h Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
tlb.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
topology.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00
ucontext.h bionic: add clean kernel header ucontext.h 2012-05-14 01:42:12 +08:00
xor.h Update bionic kernel headers using update_all.py 2012-03-07 21:13:49 -08:00