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
140756ee
Commit
140756ee
authored
May 12, 2010
by
Roberto Raggi
Browse files
Removed deprecated code.
parent
478d3ffd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/ResolveExpression.cpp
View file @
140756ee
...
...
@@ -125,15 +125,7 @@ void ResolveExpression::addResult(const FullySpecifiedType &ty, Symbol *symbol)
symbol
=
_context
.
thisDocument
()
->
globalNamespace
();
}
return
addResult
(
LookupItem
(
ty
,
symbol
));
}
void
ResolveExpression
::
addResult
(
const
LookupItem
&
r
)
{
Q_ASSERT
(
r
.
lastVisibleSymbol
()
!=
0
);
if
(
!
_results
.
contains
(
r
))
_results
.
append
(
r
);
_results
.
append
(
LookupItem
(
ty
,
symbol
));
}
bool
ResolveExpression
::
visit
(
BinaryExpressionAST
*
ast
)
...
...
src/libs/cplusplus/ResolveExpression.h
View file @
140756ee
...
...
@@ -69,7 +69,6 @@ protected:
void
thisObject
();
void
addResult
(
const
FullySpecifiedType
&
ty
,
Symbol
*
symbol
=
0
);
void
addResult
(
const
LookupItem
&
result
);
void
addResults
(
const
QList
<
Symbol
*>
&
symbols
);
...
...
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