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
fca0d359
Commit
fca0d359
authored
May 14, 2010
by
Roberto Raggi
Browse files
Removed deprecate overload of LookupContext::classOrNamespace().
parent
9ed1f667
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/LookupContext.cpp
View file @
fca0d359
...
...
@@ -175,16 +175,6 @@ ClassOrNamespace *LookupContext::classOrNamespace(Symbol *symbol) const
return
bindings
()
->
findClassOrNamespace
(
symbol
);
}
ClassOrNamespace
*
LookupContext
::
classOrNamespace
(
const
Name
*
name
,
Symbol
*
lastVisibleSymbol
)
const
{
Scope
*
scope
=
_thisDocument
->
globalSymbols
();
if
(
lastVisibleSymbol
&&
lastVisibleSymbol
->
scope
())
scope
=
lastVisibleSymbol
->
scope
();
return
classOrNamespace
(
name
,
scope
);
}
QList
<
Symbol
*>
LookupContext
::
lookup
(
const
Name
*
name
,
Scope
*
scope
)
const
{
QList
<
Symbol
*>
candidates
;
...
...
src/libs/cplusplus/LookupContext.h
View file @
fca0d359
...
...
@@ -232,8 +232,6 @@ public:
static
QList
<
const
Name
*>
fullyQualifiedName
(
Symbol
*
symbol
);
Q_DECL_DEPRECATED
ClassOrNamespace
*
classOrNamespace
(
const
Name
*
name
,
Symbol
*
lastVisibleSymbol
)
const
;
private:
Control
*
_control
;
...
...
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