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
Tobias Hunger
qt-creator
Commits
03fe61e3
Commit
03fe61e3
authored
Oct 15, 2009
by
Roberto Raggi
Browse files
Improved lookup of class bindings.
Unmark the visited nodes when searching bindings in class or namespace scopes.
parent
2c17c756
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/CppBindings.cpp
View file @
03fe61e3
...
...
@@ -676,6 +676,8 @@ ClassBinding *Binder::findClassBinding(Name *name)
if
(
classBinding
)
{
if
(
ClassBinding
*
k
=
classBinding
->
findClassBinding
(
name
,
&
processed
))
return
k
;
processed
.
clear
();
}
if
(
namespaceBinding
)
...
...
@@ -718,8 +720,6 @@ bool Binder::visit(UsingNamespaceDirective *u)
bool
Binder
::
visit
(
Class
*
classSymbol
)
{
Overview
oo
;
ClassBinding
*
binding
=
findOrCreateClassBinding
(
classSymbol
);
ClassBinding
*
previousClassBinding
=
switchClassBinding
(
binding
);
...
...
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