forked from qt-creator/qt-creator
Initial work on the `new' GenTemplateInstance.
This commit is contained in:
@@ -347,8 +347,10 @@ QList<Scope *> LookupContext::buildVisibleScopes()
|
||||
}
|
||||
|
||||
QList<Scope *> LookupContext::visibleScopes(const QPair<FullySpecifiedType, Symbol *> &result) const
|
||||
{ return visibleScopes(result.second); }
|
||||
|
||||
QList<Scope *> LookupContext::visibleScopes(Symbol *symbol) const
|
||||
{
|
||||
Symbol *symbol = result.second;
|
||||
QList<Scope *> scopes;
|
||||
for (Scope *scope = symbol->scope(); scope; scope = scope->enclosingScope())
|
||||
scopes.append(scope);
|
||||
|
||||
Reference in New Issue
Block a user