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

Expression of default values is always cpp_unexposed_expression #6

Open
foonathan opened this issue Apr 18, 2017 · 0 comments
Open

Comments

@foonathan
Copy link
Collaborator

  • cppast version: latest one
  • parser: libclang_parser
  • clang version: 3.9.1+

The default value of a function parameter, template non type parameter and the initializer of a (member) variable is not exposed.
This is due to an ambiguity when parsing the children of the libclang cursor, there is no way to distinguish between the expression in the array size and the expression of the initializer.

Also see #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant