Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix can not parse typedef correctly if there are struct/enum/class node before the typedef declaration #38

Merged
merged 5 commits into from
Nov 22, 2023

Conversation

littleGnAl
Copy link
Contributor

@littleGnAl littleGnAl commented Nov 21, 2023

Based on the current implementation of the logic of the type alias, the code below can not be handled

enum AUDIO_SESSION_OPERATION_RESTRICTION {

  AUDIO_SESSION_OPERATION_RESTRICTION_NONE = 0,
};

typedef const char* user_id_t;
typedef void* view_t;

@littleGnAl littleGnAl changed the title fix: Fix can not parse typedef correctly if there are typedef struct/enum declaration fix: Fix can not parse typedef correctly if there are struct/enum/class node before the typedef declaration Nov 21, 2023
LichKing-2234
LichKing-2234 previously approved these changes Nov 21, 2023
@littleGnAl littleGnAl merged commit 33103d4 into main Nov 22, 2023
3 checks passed
@littleGnAl littleGnAl deleted the littlegnal/fix-type-alias-pointer branch November 22, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants