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
f9b80aff
Commit
f9b80aff
authored
Feb 22, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 722619 - doxygen 1.8.6 sorts the contents of a namespace by group within the Class List
parent
9b76c1a9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
classdef.cpp
src/classdef.cpp
+4
-0
classlist.cpp
src/classlist.cpp
+0
-1
index.cpp
src/index.cpp
+1
-1
namespacedef.cpp
src/namespacedef.cpp
+8
-0
No files found.
src/classdef.cpp
View file @
f9b80aff
...
@@ -3930,6 +3930,10 @@ void ClassDef::sortMemberLists()
...
@@ -3930,6 +3930,10 @@ void ClassDef::sortMemberLists()
{
{
if
(
ml
->
needsSorting
())
{
ml
->
sort
();
ml
->
setNeedsSorting
(
FALSE
);
}
if
(
ml
->
needsSorting
())
{
ml
->
sort
();
ml
->
setNeedsSorting
(
FALSE
);
}
}
}
if
(
m_impl
->
innerClasses
)
{
m_impl
->
innerClasses
->
sort
();
}
}
}
int
ClassDef
::
countMemberDeclarations
(
MemberListType
lt
,
ClassDef
*
inheritedFrom
,
int
ClassDef
::
countMemberDeclarations
(
MemberListType
lt
,
ClassDef
*
inheritedFrom
,
...
...
src/classlist.cpp
View file @
f9b80aff
...
@@ -36,7 +36,6 @@ ClassList::~ClassList()
...
@@ -36,7 +36,6 @@ ClassList::~ClassList()
static
int
compItems
(
const
ClassDef
*
c1
,
const
ClassDef
*
c2
)
static
int
compItems
(
const
ClassDef
*
c1
,
const
ClassDef
*
c2
)
{
{
static
bool
b
=
Config_getBool
(
"SORT_BY_SCOPE_NAME"
);
static
bool
b
=
Config_getBool
(
"SORT_BY_SCOPE_NAME"
);
//printf("compItems: %d %s<->%s\n",b,c1->name().data(),c2->name().data());
if
(
b
)
if
(
b
)
{
{
return
qstricmp
(
c1
->
name
(),
c2
->
name
());
return
qstricmp
(
c1
->
name
(),
c2
->
name
());
...
...
src/index.cpp
View file @
f9b80aff
...
@@ -1413,7 +1413,7 @@ static void writeNamespaceTree(NamespaceSDict *nsDict,FTVHelp *ftv,
...
@@ -1413,7 +1413,7 @@ static void writeNamespaceTree(NamespaceSDict *nsDict,FTVHelp *ftv,
}
}
}
}
if
(
isLinkable
||
hasChildren
)
if
(
(
isLinkable
&&
!
showClasses
)
||
hasChildren
)
{
{
ftv
->
addContentsItem
(
hasChildren
,
nd
->
localName
(),
ref
,
file
,
0
,
FALSE
,
TRUE
,
nd
);
ftv
->
addContentsItem
(
hasChildren
,
nd
->
localName
(),
ref
,
file
,
0
,
FALSE
,
TRUE
,
nd
);
...
...
src/namespacedef.cpp
View file @
f9b80aff
...
@@ -998,6 +998,14 @@ void NamespaceDef::sortMemberLists()
...
@@ -998,6 +998,14 @@ void NamespaceDef::sortMemberLists()
{
{
if
(
ml
->
needsSorting
())
{
ml
->
sort
();
ml
->
setNeedsSorting
(
FALSE
);
}
if
(
ml
->
needsSorting
())
{
ml
->
sort
();
ml
->
setNeedsSorting
(
FALSE
);
}
}
}
if
(
classSDict
)
{
classSDict
->
sort
();
}
if
(
namespaceSDict
)
{
namespaceSDict
->
sort
();
}
}
}
...
...
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