jessevdk / cldoc

clang based documentation generator for C and C++
GNU General Public License v2.0
552 stars 58 forks source link

Namespaces are not grouped #103

Closed sdressler closed 9 years ago

sdressler commented 9 years ago

When statically generating a site with cldoc 1.8, namespaces are not grouped in the static site. There is no difference between re-using the same namespace in the same file or in different files. For example:

namespace foo
{
    class A { };
}

namespace foo
{
    class B { };
}

leads to a static site which looks like this:

screenshot from 2015-07-01 09 03 04

As "correct" result, I would have expected that namespaces are grouped.

jessevdk commented 9 years ago

Looks like a general problem, even with non-static.

jessevdk commented 9 years ago

This was a regression introduced by trying to fix anon structs. This issue should now be resolved, and the fix is included in 1.9 (just released). I've added a test for this specific regression as well. Can you please verify if the latest resolves the issue for you?

cbiffle commented 9 years ago

FYI, in my case, this is fixed with latest master.

sdressler commented 9 years ago

Yes, I can confirm that this is fixed now.