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:
Tao Bao
2015-01-28 10:07:51 -08:00
parent 11829be3e1
commit d7db594b8d
670 changed files with 32589 additions and 32507 deletions

View File

@@ -32,18 +32,22 @@
#define R3964_SIG_NONE 0x0000
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define R3964_USE_SIGIO 0x1000
enum {R3964_MSG_ACK=1, R3964_MSG_DATA };
enum {
R3964_MSG_ACK = 1,
R3964_MSG_DATA
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define R3964_MAX_MSG_COUNT 32
#define R3964_OK 0
#define R3964_TX_FAIL - 1
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define R3964_TX_FAIL -1
#define R3964_OVERFLOW -2
#define R3964_OVERFLOW - 2
struct r3964_client_message {
int msg_id;
int msg_id;
int arg;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
int arg;
int error_code;
int error_code;
};
#define R3964_MTU 256
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#endif
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */