Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang. Bug: 18937958 Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
This commit is contained in:
@@ -21,19 +21,19 @@
|
||||
#include <linux/types.h>
|
||||
struct ifaddrlblmsg {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u8 ifal_family;
|
||||
__u8 __ifal_reserved;
|
||||
__u8 ifal_prefixlen;
|
||||
__u8 ifal_flags;
|
||||
__u8 ifal_family;
|
||||
__u8 __ifal_reserved;
|
||||
__u8 ifal_prefixlen;
|
||||
__u8 ifal_flags;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u32 ifal_index;
|
||||
__u32 ifal_seq;
|
||||
__u32 ifal_index;
|
||||
__u32 ifal_seq;
|
||||
};
|
||||
enum {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
IFAL_ADDRESS = 1,
|
||||
IFAL_LABEL = 2,
|
||||
__IFAL_MAX
|
||||
IFAL_ADDRESS = 1,
|
||||
IFAL_LABEL = 2,
|
||||
__IFAL_MAX
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define IFAL_MAX (__IFAL_MAX - 1)
|
||||
|
||||
Reference in New Issue
Block a user