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
7ee74300
Commit
7ee74300
authored
Sep 07, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show the parent-child type specialization relation in Java/C# generics inheritance diagrams
parent
05648813
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
doxygen.cpp
src/doxygen.cpp
+15
-4
No files found.
src/doxygen.cpp
View file @
7ee74300
...
...
@@ -1310,11 +1310,11 @@ static void addClassToContext(EntryNav *rootNav)
QCString
tagName
;
QCString
refFileName
;
TagInfo
*
tagInfo
=
rootNav
->
tagInfo
();
int
i
;
if
(
tagInfo
)
{
tagName
=
tagInfo
->
tagName
;
refFileName
=
tagInfo
->
fileName
;
int
i
;
if
((
i
=
fullName
.
find
(
"::"
))
!=-
1
)
// symbols imported via tag files may come without the parent scope,
// so we artificially create it here
...
...
@@ -1322,6 +1322,19 @@ static void addClassToContext(EntryNav *rootNav)
buildScopeFromQualifiedName
(
fullName
,
fullName
.
contains
(
"::"
),
root
->
lang
,
tagInfo
);
}
}
ArgumentList
*
tArgList
=
0
;
if
((
root
->
lang
==
SrcLangExt_CSharp
||
root
->
lang
==
SrcLangExt_Java
)
&&
(
i
=
fullName
.
find
(
'<'
))
!=-
1
)
{
// a Java/C# generic class looks like a C++ specialization, so we need to split the
// name and template arguments here
tArgList
=
new
ArgumentList
;
stringToArgumentList
(
fullName
.
mid
(
i
),
tArgList
);
fullName
=
fullName
.
left
(
i
);
}
else
{
tArgList
=
getTemplateArgumentsFromName
(
fullName
,
root
->
tArgLists
);
}
cd
=
new
ClassDef
(
root
->
fileName
,
root
->
startLine
,
root
->
startColumn
,
fullName
,
sec
,
tagName
,
refFileName
,
TRUE
,
root
->
spec
&
Entry
::
Enum
);
Debug
::
print
(
Debug
::
Classes
,
0
,
" New class `%s' (sec=0x%08x)! #tArgLists=%d tagInfo=%p
\n
"
,
...
...
@@ -1336,8 +1349,6 @@ static void addClassToContext(EntryNav *rootNav)
cd
->
setTypeConstraints
(
root
->
typeConstr
);
//printf("new ClassDef %s tempArgList=%p specScope=%s\n",fullName.data(),root->tArgList,root->scopeSpec.data());
ArgumentList
*
tArgList
=
getTemplateArgumentsFromName
(
fullName
,
root
->
tArgLists
);
//printf("class %s template args=%s\n",fullName.data(),
// tArgList ? tempArgListToString(tArgList).data() : "<none>");
cd
->
setTemplateArguments
(
tArgList
);
...
...
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