X Tutup
The Wayback Machine - https://web.archive.org/web/20200915034250/https://github.com/foonathan/cppast/issues/5
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

`decltype` expression is always `cpp_unexposed_expression` #5

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

`decltype` expression is always `cpp_unexposed_expression` #5

foonathan opened this issue Apr 18, 2017 · 0 comments

Comments

@foonathan
Copy link
Owner

@foonathan foonathan commented Apr 18, 2017

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

The expression inside a decltype() will always be a cpp_unexposed_expression and the type of the expression is not exposed either. On a related note, cpp_decltype_auto_type will never be created, decltype(auto) will create a simple cpp_auto_type instead.

@foonathan foonathan changed the title `decltype` expression not exposed `decltype` expression is always `cpp_unexposed_expression` Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup