-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add support to variable with [] inside type #85
Conversation
Needs tests. Also, have you tried https://github.com/robotpy/cxxheaderparser? It supports constructs like that already. |
Sure. I will update the PR. I use this deprecated library because the project https://github.com/thibaultmarin/hpp2plantuml uses it. I will (try to) send another PR to add support about |
I also fixed two tests. I just have a doubt. The output format is |
I used the same MR to add support for initialization with {}. Hope it's fine. Review by commit will be easier than review the whole MR at once. |
Also, please merge in main, which fixes github actions. |
Done |
std::unique_ptr<int[]> variable;
Looks like you broke a test. |
Fixed. A wrong index in a test. |
int double {0}; int double {(1.2+3.2)};
Like
std::unique_ptr<int[]> variable;