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
f5aa5e7b
Commit
f5aa5e7b
authored
Dec 24, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 712819 - Some external namespaces appear in list despite having ALLEXTERNALS = NO
parent
f20c2bab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
doxygen.cpp
src/doxygen.cpp
+4
-0
util.cpp
src/util.cpp
+3
-2
No files found.
src/doxygen.cpp
View file @
f5aa5e7b
...
...
@@ -1836,6 +1836,10 @@ static void findUsingDirectives(EntryNav *rootNav)
//printf("Found using directive %s at line %d of %s\n",
// root->name.data(),root->startLine,root->fileName.data());
QCString
name
=
substitute
(
root
->
name
,
"."
,
"::"
);
if
(
name
.
right
(
2
)
==
"::"
)
{
name
=
name
.
left
(
name
.
length
()
-
2
);
}
if
(
!
name
.
isEmpty
())
{
NamespaceDef
*
usingNd
=
0
;
...
...
src/util.cpp
View file @
f5aa5e7b
...
...
@@ -218,6 +218,7 @@ QCString stripAnonymousNamespaceScope(const QCString &s)
{
int
i
,
p
=
0
,
l
;
QCString
newScope
;
int
sl
=
s
.
length
();
while
((
i
=
getScopeFragment
(
s
,
p
,
&
l
))
!=-
1
)
{
//printf("Scope fragment %s\n",s.mid(i,l).data());
...
...
@@ -229,10 +230,10 @@ QCString stripAnonymousNamespaceScope(const QCString &s)
newScope
+=
s
.
mid
(
i
,
l
);
}
}
else
else
if
(
i
<
sl
)
{
if
(
!
newScope
.
isEmpty
())
newScope
+=
"::"
;
newScope
+=
s
.
right
(
s
.
length
()
-
i
);
newScope
+=
s
.
right
(
s
l
-
i
);
goto
done
;
}
p
=
i
+
l
;
...
...
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