Skip to content
Snippets Groups Projects
Commit b94af4e2 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

The method enclosingSymbol() should always return a ScopedSymbol.

parent 5248bdee
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ void Symbol::setScope(Scope *scope)
_scope = scope;
}
Symbol *Symbol::enclosingSymbol() const
ScopedSymbol *Symbol::enclosingSymbol() const
{
if (! _scope)
return 0;
......
......@@ -284,7 +284,7 @@ public:
bool isUnavailable() const;
void setUnavailable(bool isUnavailable);
Symbol *enclosingSymbol() const;
ScopedSymbol *enclosingSymbol() const;
/// Returns the eclosing namespace scope.
Scope *enclosingNamespaceScope() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment