Skip to content

Commit 61fa3f8

Browse files
committed
Layout: add visibility flag's value to -d layout option
1 parent a490501 commit 61fa3f8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/doxygen.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9922,19 +9922,19 @@ void printLayout()
99229922
if (const LayoutDocEntrySimple *ldes = dynamic_cast<const LayoutDocEntrySimple*>(lde.get()))
99239923
{
99249924
if (lde->kind() == LayoutDocEntry::MemberDeclEnd || lde->kind() == LayoutDocEntry::MemberDefEnd) extraIndent = false;
9925-
Debug::print(Debug::Layout,0," %skind: %s\n",
9926-
extraIndent? " " : "",qPrint(lde->entryToString()));
9925+
Debug::print(Debug::Layout,0," %skind: %s, visible=%d\n",
9926+
extraIndent? " " : "",qPrint(lde->entryToString()), ldes->visible());
99279927
if (lde->kind() == LayoutDocEntry::MemberDeclStart || lde->kind() == LayoutDocEntry::MemberDefStart) extraIndent = true;
99289928
}
99299929
else if (const LayoutDocEntryMemberDecl *lmdecl = dynamic_cast<const LayoutDocEntryMemberDecl*>(lde.get()))
99309930
{
9931-
Debug::print(Debug::Layout,0," %scomplex kind: %s, type: %s\n",
9932-
extraIndent? " " : "",qPrint(lde->entryToString()),qPrint(lmdecl->type.to_string()));
9931+
Debug::print(Debug::Layout,0," %scomplex kind: %s, visible=%d, type: %s\n",
9932+
extraIndent? " " : "",qPrint(lde->entryToString()),lmdecl->visible(),qPrint(lmdecl->type.to_string()));
99339933
}
99349934
else if (const LayoutDocEntryMemberDef *lmdef = dynamic_cast<const LayoutDocEntryMemberDef*>(lde.get()))
99359935
{
9936-
Debug::print(Debug::Layout,0," %scomplex kind: %s, type: %s\n",
9937-
extraIndent? " " : "",qPrint(lde->entryToString()),qPrint(lmdef->type.to_string()));
9936+
Debug::print(Debug::Layout,0," %scomplex kind: %s, visible=%d, type: %s\n",
9937+
extraIndent? " " : "",qPrint(lde->entryToString()),lmdef->visible(),qPrint(lmdef->type.to_string()));
99389938
}
99399939
else
99409940
{

0 commit comments

Comments
 (0)