Skip to content

Namespace alias collection with c++, c# #238

@sophia-gh

Description

@sophia-gh

The tool currently collects all the names for namespaces with aliases.

Example:

src:

namespace nsp = abc::bef::ghi; 

current output:

nsp is a namespace in C++ file: test_function.cpp at 1:11
abc is a namespace in C++ file: test_function.cpp at 1:17
bef is a namespace in C++ file: test_function.cpp at 1:22
ghi is a namespace in C++ file: test_function.cpp at 1:27 

The tool should just return the first name given nsp not the aliases.

corrected output would look like:
nsp is a namespace in C++ file: test_function.cpp at 1:11

the same issue occurs with c#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions