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

Handle arbitrary number of * and & #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarcelKoch
Copy link

This PR enables parsing of arguments with more than two * or &. It also fixes the parsing of const qualified pointer. Previously, the parsing would accept const T const*, which is invalid C++ syntax (correct would be const T * const).

Additionally, it also allows parsing of default values that are using {...}. I can put that in a different PR if that would be easier to review.

This also fixes some tests, which had invalid C++ like `const T const*`.
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.

1 participant