summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Output.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Output.cxx b/src/Output.cxx
index 0d4931b..6299cb8 100644
--- a/src/Output.cxx
+++ b/src/Output.cxx
@@ -1239,7 +1239,11 @@ void ASTVisitor::OutputNamespaceDecl(
this->PrintNameAttribute(d->getName().str());
this->PrintContextAttribute(d);
if(dn->Complete) {
- this->PrintMembersAttribute(d);
+ std::set<unsigned int> emitted;
+ for (clang::NamespaceDecl const* r: d->redecls()) {
+ this->AddDeclContextMembers(r, emitted);
+ }
+ this->PrintMembersAttribute(emitted);
}
this->OS << "/>\n";
}