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:
@@ -22,28 +22,28 @@
|
||||
#include <linux/if_ether.h>
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#endif
|
||||
#define SIOCSBPQETHOPT (SIOCDEVPRIVATE+0)
|
||||
#define SIOCSBPQETHADDR (SIOCDEVPRIVATE+1)
|
||||
#define SIOCSBPQETHOPT (SIOCDEVPRIVATE + 0)
|
||||
#define SIOCSBPQETHADDR (SIOCDEVPRIVATE + 1)
|
||||
struct bpq_ethaddr {
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
unsigned char destination[ETH_ALEN];
|
||||
unsigned char accept[ETH_ALEN];
|
||||
unsigned char destination[ETH_ALEN];
|
||||
unsigned char accept[ETH_ALEN];
|
||||
};
|
||||
#define SIOCGBPQETHPARAM 0x5000
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define SIOCSBPQETHPARAM 0x5001
|
||||
struct bpq_req {
|
||||
int cmd;
|
||||
int speed;
|
||||
int cmd;
|
||||
int speed;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int clockmode;
|
||||
int txdelay;
|
||||
unsigned char persist;
|
||||
int slotime;
|
||||
int clockmode;
|
||||
int txdelay;
|
||||
unsigned char persist;
|
||||
int slotime;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
int squeldelay;
|
||||
int dmachan;
|
||||
int irq;
|
||||
int squeldelay;
|
||||
int dmachan;
|
||||
int irq;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user