Locator: Fix style and reuse LocatorFilterEntries

Fix names of private members of LocatorModel to have
one common style.

Reuse LocatorFilterEntries where possible.

Change-Id: Icca1e396b9fafd165adf35939dd7859032f90c0c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2023-04-25 10:00:07 +02:00
parent 23f7352834
commit c8c48d899f
4 changed files with 28 additions and 28 deletions

View File

@@ -556,7 +556,7 @@ void CppModelManager::findUnusedFunctions(const FilePath &folder)
return;
}
Links links;
const auto entries = matcher->outputData();
const LocatorFilterEntries entries = matcher->outputData();
for (const LocatorFilterEntry &entry : entries) {
static const QStringList prefixBlacklist{"main(", "~", "qHash(", "begin()", "end()",
"cbegin()", "cend()", "constBegin()", "constEnd()"};