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

Inconsistency when using C++11 friend syntax for types #10

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

Inconsistency when using C++11 friend syntax for types #10

foonathan opened this issue Apr 18, 2017 · 0 comments

Comments

@foonathan
Copy link
Collaborator

  • cppast version: latest one
  • parser: libclang_parser
  • clang version: 4.0

C++11 introduced a new syntax to mark types as friends, friend foo instead of friend class foo.
When parsing friend foo it will be treated as if friend class foo was written.
But when parsing friend ns::foo, it will be detected properly.

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