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
4766fdba
Commit
4766fdba
authored
Aug 18, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 734331 - (Kashej) Strong enum members listed in containing namespace
parent
e864a6ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
10 deletions
+18
-10
index.cpp
src/index.cpp
+18
-10
No files found.
src/index.cpp
View file @
4766fdba
...
@@ -2279,7 +2279,9 @@ void addClassMemberNameToIndex(MemberDef *md)
...
@@ -2279,7 +2279,9 @@ void addClassMemberNameToIndex(MemberDef *md)
(
QCString
(
md
->
typeString
())
==
"friend class"
||
(
QCString
(
md
->
typeString
())
==
"friend class"
||
QCString
(
md
->
typeString
())
==
"friend struct"
||
QCString
(
md
->
typeString
())
==
"friend struct"
||
QCString
(
md
->
typeString
())
==
"friend union"
);
QCString
(
md
->
typeString
())
==
"friend union"
);
if
(
!
(
md
->
isFriend
()
&&
isFriendToHide
))
if
(
!
(
md
->
isFriend
()
&&
isFriendToHide
)
&&
(
!
md
->
isEnumValue
()
||
(
md
->
getEnumScope
()
&&
!
md
->
getEnumScope
()
->
isStrong
()))
)
{
{
g_memberIndexLetterUsed
[
CMHL_All
].
append
(
letter
,
md
);
g_memberIndexLetterUsed
[
CMHL_All
].
append
(
letter
,
md
);
documentedClassMembers
[
CMHL_All
]
++
;
documentedClassMembers
[
CMHL_All
]
++
;
...
@@ -2304,7 +2306,7 @@ void addClassMemberNameToIndex(MemberDef *md)
...
@@ -2304,7 +2306,7 @@ void addClassMemberNameToIndex(MemberDef *md)
g_memberIndexLetterUsed
[
CMHL_Enums
].
append
(
letter
,
md
);
g_memberIndexLetterUsed
[
CMHL_Enums
].
append
(
letter
,
md
);
documentedClassMembers
[
CMHL_Enums
]
++
;
documentedClassMembers
[
CMHL_Enums
]
++
;
}
}
else
if
(
md
->
isEnumValue
())
else
if
(
md
->
isEnumValue
()
&&
md
->
getEnumScope
()
&&
!
md
->
getEnumScope
()
->
isStrong
()
)
{
{
g_memberIndexLetterUsed
[
CMHL_EnumValues
].
append
(
letter
,
md
);
g_memberIndexLetterUsed
[
CMHL_EnumValues
].
append
(
letter
,
md
);
documentedClassMembers
[
CMHL_EnumValues
]
++
;
documentedClassMembers
[
CMHL_EnumValues
]
++
;
...
@@ -2350,9 +2352,12 @@ void addNamespaceMemberNameToIndex(MemberDef *md)
...
@@ -2350,9 +2352,12 @@ void addNamespaceMemberNameToIndex(MemberDef *md)
int
index
=
getPrefixIndex
(
n
);
int
index
=
getPrefixIndex
(
n
);
uint
letter
=
getUtf8CodeToLower
(
n
,
index
);
uint
letter
=
getUtf8CodeToLower
(
n
,
index
);
if
(
!
n
.
isEmpty
())
if
(
!
n
.
isEmpty
())
{
if
(
!
md
->
isEnumValue
()
||
(
md
->
getEnumScope
()
&&
!
md
->
getEnumScope
()
->
isStrong
()))
{
{
g_namespaceIndexLetterUsed
[
NMHL_All
].
append
(
letter
,
md
);
g_namespaceIndexLetterUsed
[
NMHL_All
].
append
(
letter
,
md
);
documentedNamespaceMembers
[
NMHL_All
]
++
;
documentedNamespaceMembers
[
NMHL_All
]
++
;
}
if
(
md
->
isFunction
())
if
(
md
->
isFunction
())
{
{
...
@@ -2374,7 +2379,7 @@ void addNamespaceMemberNameToIndex(MemberDef *md)
...
@@ -2374,7 +2379,7 @@ void addNamespaceMemberNameToIndex(MemberDef *md)
g_namespaceIndexLetterUsed
[
NMHL_Enums
].
append
(
letter
,
md
);
g_namespaceIndexLetterUsed
[
NMHL_Enums
].
append
(
letter
,
md
);
documentedNamespaceMembers
[
NMHL_Enums
]
++
;
documentedNamespaceMembers
[
NMHL_Enums
]
++
;
}
}
else
if
(
md
->
isEnumValue
())
else
if
(
md
->
isEnumValue
()
&&
md
->
getEnumScope
()
&&
!
md
->
getEnumScope
()
->
isStrong
()
)
{
{
g_namespaceIndexLetterUsed
[
NMHL_EnumValues
].
append
(
letter
,
md
);
g_namespaceIndexLetterUsed
[
NMHL_EnumValues
].
append
(
letter
,
md
);
documentedNamespaceMembers
[
NMHL_EnumValues
]
++
;
documentedNamespaceMembers
[
NMHL_EnumValues
]
++
;
...
@@ -2404,9 +2409,12 @@ void addFileMemberNameToIndex(MemberDef *md)
...
@@ -2404,9 +2409,12 @@ void addFileMemberNameToIndex(MemberDef *md)
int
index
=
getPrefixIndex
(
n
);
int
index
=
getPrefixIndex
(
n
);
uint
letter
=
getUtf8CodeToLower
(
n
,
index
);
uint
letter
=
getUtf8CodeToLower
(
n
,
index
);
if
(
!
n
.
isEmpty
())
if
(
!
n
.
isEmpty
())
{
if
(
!
md
->
isEnumValue
()
||
(
md
->
getEnumScope
()
&&
!
md
->
getEnumScope
()
->
isStrong
()))
{
{
g_fileIndexLetterUsed
[
FMHL_All
].
append
(
letter
,
md
);
g_fileIndexLetterUsed
[
FMHL_All
].
append
(
letter
,
md
);
documentedFileMembers
[
FMHL_All
]
++
;
documentedFileMembers
[
FMHL_All
]
++
;
}
if
(
md
->
isFunction
())
if
(
md
->
isFunction
())
{
{
...
@@ -2428,7 +2436,7 @@ void addFileMemberNameToIndex(MemberDef *md)
...
@@ -2428,7 +2436,7 @@ void addFileMemberNameToIndex(MemberDef *md)
g_fileIndexLetterUsed
[
FMHL_Enums
].
append
(
letter
,
md
);
g_fileIndexLetterUsed
[
FMHL_Enums
].
append
(
letter
,
md
);
documentedFileMembers
[
FMHL_Enums
]
++
;
documentedFileMembers
[
FMHL_Enums
]
++
;
}
}
else
if
(
md
->
isEnumValue
())
else
if
(
md
->
isEnumValue
()
&&
md
->
getEnumScope
()
&&
!
md
->
getEnumScope
()
->
isStrong
()
)
{
{
g_fileIndexLetterUsed
[
FMHL_EnumValues
].
append
(
letter
,
md
);
g_fileIndexLetterUsed
[
FMHL_EnumValues
].
append
(
letter
,
md
);
documentedFileMembers
[
FMHL_EnumValues
]
++
;
documentedFileMembers
[
FMHL_EnumValues
]
++
;
...
...
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