Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b7a0dbfa
Commit
b7a0dbfa
authored
Oct 15, 2009
by
Roberto Raggi
Browse files
Expand the enclosing namespace.
parent
4a58646b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/LookupContext.cpp
View file @
b7a0dbfa
...
...
@@ -400,6 +400,11 @@ void LookupContext::expandNamespace(Namespace *ns,
const
QList
<
Scope
*>
&
visibleScopes
,
QList
<
Scope
*>
*
expandedScopes
)
const
{
//qDebug() << "*** expand namespace:" << ns->fileName() << ns->line() << ns->column();
if
(
Scope
*
encl
=
ns
->
enclosingNamespaceScope
())
expand
(
encl
,
visibleScopes
,
expandedScopes
);
if
(
Name
*
nsName
=
ns
->
name
())
{
const
QList
<
Symbol
*>
namespaceList
=
resolveNamespace
(
nsName
,
visibleScopes
);
foreach
(
Symbol
*
otherNs
,
namespaceList
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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