forked from qt-creator/qt-creator
Add the class to its enclosing scope.
This commit is contained in:
@@ -2186,6 +2186,8 @@ bool Bind::visit(ClassSpecifierAST *ast)
|
||||
}
|
||||
|
||||
Class *klass = control()->newClass(sourceLocation, className);
|
||||
_scope->addMember(klass);
|
||||
|
||||
_type.setType(klass);
|
||||
|
||||
Scope *previousScope = switchScope(klass);
|
||||
|
Reference in New Issue
Block a user