Skip to content

Commit

Permalink
fix: Fix can not parse typedef correctly if there are struct/enum/cla…
Browse files Browse the repository at this point in the history
…ss node before the typedef declaration (#38)

Based on the current implementation of the logic of the type alias, the
code below can not be handled
```c++
enum AUDIO_SESSION_OPERATION_RESTRICTION {

  AUDIO_SESSION_OPERATION_RESTRICTION_NONE = 0,
};

typedef const char* user_id_t;
typedef void* view_t;
```
  • Loading branch information
littleGnAl authored Nov 22, 2023
1 parent 9be9693 commit 33103d4
Show file tree
Hide file tree
Showing 2 changed files with 495 additions and 39 deletions.
Loading

0 comments on commit 33103d4

Please sign in to comment.