Open wroyca opened 11 months ago
version and/or commit hash:
0.13.4
Placing an anonymous namespace within another namespace will duplicate top-level namespace:
a.cxx:
namespace hello { namespace { void say_hello (ostream& o, const string& n) { if (n.empty ()) throw invalid_argument ("empty name"); o << "Hello, " << n << '!' << endl; } } }
b.cxx:
It also becomes confused and duplicates elements, such as concept from a.cxx, within both namespaces.
Additional context from discord:
This is specific to XML output, e.g. Doxygen HTML is fine in that regards.
Environment
version and/or commit hash:
0.13.4
Describe the bug
Placing an anonymous namespace within another namespace will duplicate top-level namespace:
a.cxx:
b.cxx:
Additional information
It also becomes confused and duplicates elements, such as concept from a.cxx, within both namespaces.