Skip to content
GitLab
Menu
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
478d3ffd
Commit
478d3ffd
authored
May 12, 2010
by
Roberto Raggi
Browse files
Cleanup.
parent
0cf82099
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/LookupContext.cpp
View file @
478d3ffd
...
...
@@ -406,19 +406,10 @@ void CreateBindings::lookupInScope(const Name *name, Scope *scope,
}
else
if
(
const
Identifier
*
id
=
name
->
identifier
())
{
for
(
Symbol
*
s
=
scope
->
lookat
(
id
);
s
;
s
=
s
->
next
())
{
if
(
!
s
->
name
())
continue
;
else
if
(
!
id
->
isEqualTo
(
s
->
identifier
()))
if
(
!
id
->
isEqualTo
(
s
->
identifier
()))
continue
;
else
if
(
s
->
name
()
->
isQualifiedNameId
())
{
#if 0
Overview oo;
oo.setShowReturnTypes(true);
oo.setShowFunctionSignatures(true);
qDebug() << "SKIP:" << oo(s->type(), s->name()) << s->fileName() << s->line() << s->column();
#endif
continue
;
}
else
if
(
s
->
name
()
->
isQualifiedNameId
())
continue
;
// skip qualified ids.
#if 0
if (templateId && (s->isDeclaration() || s->isFunction())) {
...
...
Write
Preview
Supports
Markdown
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