Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
9631035b
Commit
9631035b
authored
Oct 12, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 709870 - Broken links on members HTML page when using BUILTIN_STL_SUPPORT
parent
bfb4ae4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
24 deletions
+31
-24
classdef.cpp
src/classdef.cpp
+31
-24
No files found.
src/classdef.cpp
View file @
9631035b
...
...
@@ -2255,7 +2255,8 @@ void ClassDef::writeMemberList(OutputList &ol)
ol
.
writeString
(
"</td>"
);
memberWritten
=
TRUE
;
}
else
if
(
!
Config_getBool
(
"HIDE_UNDOC_MEMBERS"
)
&&
else
if
(
!
cd
->
isArtificial
()
&&
!
Config_getBool
(
"HIDE_UNDOC_MEMBERS"
)
&&
(
protectionLevelVisible
(
md
->
protection
())
||
md
->
isFriend
())
)
// no documentation,
// generate link to the class instead.
...
...
@@ -4143,15 +4144,18 @@ int ClassDef::countInheritedDecMembers(MemberListType lt,
{
ClassDef
*
icd
=
ibcd
->
classDef
;
int
lt1
,
lt2
;
convertProtectionLevel
(
lt
,
ibcd
->
prot
,
&
lt1
,
&
lt2
);
//printf("%s: convert %d->(%d,%d) prot=%d\n",
// icd->name().data(),lt,lt1,lt2,ibcd->prot);
if
(
visitedClasses
->
find
(
icd
)
==
0
)
if
(
icd
->
isLinkable
())
{
visitedClasses
->
insert
(
icd
,
icd
);
// guard for multiple virtual inheritance
if
(
lt1
!=-
1
)
convertProtectionLevel
(
lt
,
ibcd
->
prot
,
&
lt1
,
&
lt2
);
//printf("%s: convert %d->(%d,%d) prot=%d\n",
// icd->name().data(),lt,lt1,lt2,ibcd->prot);
if
(
visitedClasses
->
find
(
icd
)
==
0
)
{
inhCount
+=
icd
->
countMemberDeclarations
((
MemberListType
)
lt1
,
inheritedFrom
,
lt2
,
FALSE
,
TRUE
,
visitedClasses
);
visitedClasses
->
insert
(
icd
,
icd
);
// guard for multiple virtual inheritance
if
(
lt1
!=-
1
)
{
inhCount
+=
icd
->
countMemberDeclarations
((
MemberListType
)
lt1
,
inheritedFrom
,
lt2
,
FALSE
,
TRUE
,
visitedClasses
);
}
}
}
}
...
...
@@ -4279,25 +4283,28 @@ void ClassDef::writeInheritedMemberDeclarations(OutputList &ol,
for
(
it
.
toFirst
();(
ibcd
=
it
.
current
());
++
it
)
{
ClassDef
*
icd
=
ibcd
->
classDef
;
int
lt1
,
lt3
;
convertProtectionLevel
(
lt
,
ibcd
->
prot
,
&
lt1
,
&
lt3
);
if
(
lt2
==-
1
&&
lt3
!=-
1
)
{
lt2
=
lt3
;
}
//printf("%s:convert %d->(%d,%d) prot=%d\n",icd->name().data(),lt,lt1,lt2,ibcd->prot);
if
(
visitedClasses
->
find
(
icd
)
==
0
)
if
(
icd
->
isLinkable
())
{
visitedClasses
->
insert
(
icd
,
icd
);
// guard for multiple virtual inheritance
if
(
lt1
!=-
1
)
int
lt1
,
lt3
;
convertProtectionLevel
(
lt
,
ibcd
->
prot
,
&
lt1
,
&
lt3
);
if
(
lt2
==-
1
&&
lt3
!=-
1
)
{
icd
->
writeMemberDeclarations
(
ol
,(
MemberListType
)
lt1
,
title
,
QCString
(),
FALSE
,
inheritedFrom
,
lt2
,
FALSE
/*invert*/
,
TRUE
,
visitedClasses
);
lt2
=
lt3
;
}
//printf("%s:convert %d->(%d,%d) prot=%d\n",icd->name().data(),lt,lt1,lt2,ibcd->prot);
if
(
visitedClasses
->
find
(
icd
)
==
0
)
{
visitedClasses
->
insert
(
icd
,
icd
);
// guard for multiple virtual inheritance
if
(
lt1
!=-
1
)
{
icd
->
writeMemberDeclarations
(
ol
,(
MemberListType
)
lt1
,
title
,
QCString
(),
FALSE
,
inheritedFrom
,
lt2
,
FALSE
,
TRUE
,
visitedClasses
);
}
}
else
{
//printf("%s: class already visited!\n",icd->name().data());
}
}
else
{
//printf("%s: class already visited!\n",icd->name().data());
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment