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
b94af4e2
Commit
b94af4e2
authored
Aug 11, 2010
by
Roberto Raggi
Browse files
The method enclosingSymbol() should always return a ScopedSymbol.
parent
5248bdee
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Symbol.cpp
View file @
b94af4e2
...
...
@@ -242,7 +242,7 @@ void Symbol::setScope(Scope *scope)
_scope
=
scope
;
}
Symbol
*
Symbol
::
enclosingSymbol
()
const
Scoped
Symbol
*
Symbol
::
enclosingSymbol
()
const
{
if
(
!
_scope
)
return
0
;
...
...
src/shared/cplusplus/Symbol.h
View file @
b94af4e2
...
...
@@ -284,7 +284,7 @@ public:
bool
isUnavailable
()
const
;
void
setUnavailable
(
bool
isUnavailable
);
Symbol
*
enclosingSymbol
()
const
;
Scoped
Symbol
*
enclosingSymbol
()
const
;
/// Returns the eclosing namespace scope.
Scope
*
enclosingNamespaceScope
()
const
;
...
...
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