Skip to content

USR generation for anonymous namespaces #642

Closed
@sdkrystian

Description

@sdkrystian

The clang USR generator will generate the same USR for anonymous namespaces, regardless of what the enclosing namespace is. For example:

namespace 
{ 
    void f(); // #1
}

namespace N 
{
    namespace 
    {
        void f(); // #2
    }
};

Clang (incorrectly) generates the same USR for #1 and #2.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions