Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang.
Bug: 18937958
Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
diff --git a/libc/kernel/uapi/linux/fdreg.h b/libc/kernel/uapi/linux/fdreg.h
index d44bd54..c4f3f5c 100644
--- a/libc/kernel/uapi/linux/fdreg.h
+++ b/libc/kernel/uapi/linux/fdreg.h
@@ -24,12 +24,12 @@
#else
#define FD_IOPORT 0x3f0
#endif
-#define FD_STATUS (4 + FD_IOPORT )
+#define FD_STATUS (4 + FD_IOPORT)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define FD_DATA (5 + FD_IOPORT )
-#define FD_DOR (2 + FD_IOPORT )
-#define FD_DIR (7 + FD_IOPORT )
-#define FD_DCR (7 + FD_IOPORT )
+#define FD_DATA (5 + FD_IOPORT)
+#define FD_DOR (2 + FD_IOPORT)
+#define FD_DIR (7 + FD_IOPORT)
+#define FD_DCR (7 + FD_IOPORT)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define STATUS_BUSYMASK 0x0F
#define STATUS_BUSY 0x10