forked from qt-creator/qt-creator
Ensure that the memory pool can be reused after a rewind and get rid of the segmented array.
This commit is contained in:
@@ -304,6 +304,11 @@ Namespace *Document::globalNamespace() const
|
||||
return _globalNamespace;
|
||||
}
|
||||
|
||||
void Document::setGlobalNamespace(Namespace *globalNamespace)
|
||||
{
|
||||
_globalNamespace = globalNamespace;
|
||||
}
|
||||
|
||||
Symbol *Document::findSymbolAt(unsigned line, unsigned column) const
|
||||
{
|
||||
return findSymbolAt(line, column, globalSymbols());
|
||||
|
||||
Reference in New Issue
Block a user