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/usbip.h b/libc/kernel/uapi/linux/usbip.h
index bc3f292..edda8c8 100644
--- a/libc/kernel/uapi/linux/usbip.h
+++ b/libc/kernel/uapi/linux/usbip.h
@@ -19,15 +19,15 @@
#ifndef _UAPI_LINUX_USBIP_H
#define _UAPI_LINUX_USBIP_H
enum usbip_device_status {
- SDEV_ST_AVAILABLE = 0x01,
+ SDEV_ST_AVAILABLE = 0x01,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- SDEV_ST_USED,
- SDEV_ST_ERROR,
- VDEV_ST_NULL,
- VDEV_ST_NOTASSIGNED,
+ SDEV_ST_USED,
+ SDEV_ST_ERROR,
+ VDEV_ST_NULL,
+ VDEV_ST_NOTASSIGNED,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- VDEV_ST_USED,
- VDEV_ST_ERROR
+ VDEV_ST_USED,
+ VDEV_ST_ERROR
};
#endif
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */