Skip to content

Template specializations cause duplicate nodes in the Info Tree #562

Open
@andocz

Description

@andocz

Sometimes there are duplicate nodes in the info tree.

For example, tinyxml2::DynArray::Push has the following code:

    void Push( T t ) {
        TIXMLASSERT( _size < INT_MAX );
        EnsureCapacity( _size+1 );
        _mem[_size] = t;
        ++_size;
    }

But in the info tree, it is shown as calling EnsureCapacity 9 times (should be 1), and being called by tinyxml2::MemPoolT::Alloc 5 times (should also be 1). Also, all the usages are listed twice. All of these duplicates have the same line number.

Info Tree

image

This might be related to #544. Actually, they're unrelated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Kind: Bug ⚠️Plugin: C++Issues related to the parsing and presentation of C++ projects.Target: WebGUIIssues related to the web frontend.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions