Skip to content

Call Hierarchy child items aren't formatted correctly (default arguments are shown) #11247

Description

See the screenshot. The root definition is formatted correctly but the children are not, which makes the arguments harder to read.

image

Repro code is like

#include <unordered_map>

int foo() { return 0; }

bool func(std::unordered_map<int, int> * d = nullptr)
{
    return foo() == 1;
}

The bug should be easy to fix by doing the formatting that is done for the root definition on the child items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions