ast2 getNameInfo cleanup, initial skip/override support

This commit is contained in:
Ganesh Viswanathan 2020-03-18 23:47:00 -05:00
commit 0d1445a8ac
4 changed files with 116 additions and 81 deletions

View file

@ -15,7 +15,7 @@ typedef int *A6;
typedef A0 **A7;
typedef void *A8;
typedef char *A9[3];
typedef char *A9p[3]; //, A9[4];
typedef char *A10[3][6];
typedef char *(*A11)[3];
@ -41,4 +41,4 @@ typedef union U2 { int **f1; int abc[123+132]; } U2;
// Anonymous
//typedef struct { char a1; };
struct A2 test_proc1(struct A0 a);
//struct A2 test_proc1(struct A0 a);

View file

@ -40,7 +40,8 @@ assert A6 is ptr cint
assert A7 is ptr ptr A0
assert A8 is pointer
assert A9 is array[3, cstring]
assert A9p is array[3, cstring]
#assert A9 is array[4, cchar]
assert A10 is array[3, array[6, cstring]]
assert A11 is ptr array[3, cstring]