Skip to content

[PARSE BUG]: Trailing return declarations broken on pure-virtual methods #114

@kdkavanagh

Description

@kdkavanagh

Problem description

Pure-virtual methods with trailing return types fail to be parsed. Works with non-pure-virtual trailing returns and pure-virtual methods w/ regular return signatures

C++ code that can't be parsed correctly (please double-check that https://robotpy.github.io/cxxheaderparser/ has the same error)

class Clazz {
 public:
 virtual auto getTelemetryMarker() const -> std::string const& = 0;
 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions