Locator: Enable to show C++ type aliases

These were not showing up in any global symbol list so far.

Fixes: QTCREATORBUG-5800
Change-Id: I8e5c3b9b26f09d8cbcd31431e28c103da05d9bf8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2021-02-05 09:39:14 +01:00
parent 27eb98faf2
commit 058841e8de
6 changed files with 13 additions and 5 deletions

View File

@@ -35,7 +35,8 @@ CppLocatorData::CppLocatorData()
{
m_search.setSymbolsToSearchFor(SymbolSearcher::Enums |
SymbolSearcher::Classes |
SymbolSearcher::Functions);
SymbolSearcher::Functions |
SymbolSearcher::TypeAliases);
m_pendingDocuments.reserve(MaxPendingDocuments);
}