Skip to content

Incorrect and inconsistent printing of unnamed class in the HTML generator #1055

@mizvekov

Description

@mizvekov

The HTML generator has some odd behavior with printing unnamed entities, which is not seen in the XML generator.

For example, for a test case such as:

constexpr struct
{
    void operator()() const;
} const F{};

It will list the class as Unnamed struct in the reference section, and the variable F will be given the following synopsis:
struct Unnamed struct;.

In the data members section, F will be given the following synopsis:
constexpr F = {};

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