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,18 +22,17 @@
|
||||
#include <asm/termios.h>
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define NFF 5
|
||||
struct termiox
|
||||
{
|
||||
__u16 x_hflag;
|
||||
struct termiox {
|
||||
__u16 x_hflag;
|
||||
__u16 x_cflag;
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
__u16 x_cflag;
|
||||
__u16 x_rflag[NFF];
|
||||
__u16 x_sflag;
|
||||
__u16 x_rflag[NFF];
|
||||
__u16 x_sflag;
|
||||
};
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define RTSXOFF 0x0001
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#define CTSXON 0x0002
|
||||
#define DTRXOFF 0x0004
|
||||
#define DSRXON 0x0008
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
#endif
|
||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||
|
||||
Reference in New Issue
Block a user