Commit b94af4e2 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

The method enclosingSymbol() should always return a ScopedSymbol.

parent 5248bdee
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment