Skip to content

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

Open
@foonathan

Description

@foonathan
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions