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
8f367169
Commit
8f367169
authored
Sep 13, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor layout tweaks and extra guard
parent
0de73f59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
util.cpp
src/util.cpp
+12
-5
No files found.
src/util.cpp
View file @
8f367169
...
@@ -4311,14 +4311,21 @@ bool getDefs(const QCString &scName,
...
@@ -4311,14 +4311,21 @@ bool getDefs(const QCString &scName,
{
{
//printf("multiple results; pick one from file:%s\n", currentFile->name().data());
//printf("multiple results; pick one from file:%s\n", currentFile->name().data());
md
=
members
.
first
();
md
=
members
.
first
();
while
(
md
)
{
while
(
md
)
if
(
md
->
getFileDef
()
->
name
()
==
currentFile
->
name
())
{
break
;
if
(
md
->
getFileDef
()
&&
md
->
getFileDef
()
->
name
()
==
currentFile
->
name
())
{
break
;
// found match in the current file
}
md
=
members
.
next
();
md
=
members
.
next
();
}
}
if
(
!
md
)
if
(
!
md
)
// member not in the current file
{
md
=
members
.
last
();
md
=
members
.
last
();
}
else
{
}
}
else
{
md
=
members
.
last
();
md
=
members
.
last
();
}
}
}
}
...
...
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