forked from qt-creator/qt-creator
		
	ModelManagerSupport: Get rid of UsagesCallback from findUsages()
It's not used currently. Change-Id: Ic3625b0f3c53c09089a361453f29ac639692cffb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
		@@ -223,8 +223,7 @@ void ClangModelManagerSupport::globalRename(const CppEditor::CursorInEditor &cur
 | 
			
		||||
    CppModelManager::globalRename(cursor, replacement, CppModelManager::Backend::Builtin);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ClangModelManagerSupport::findUsages(const CppEditor::CursorInEditor &cursor,
 | 
			
		||||
                                   CppEditor::UsagesCallback &&callback) const
 | 
			
		||||
void ClangModelManagerSupport::findUsages(const CppEditor::CursorInEditor &cursor) const
 | 
			
		||||
{
 | 
			
		||||
    if (ClangdClient * const client = clientForFile(cursor.filePath());
 | 
			
		||||
            client && client->isFullyIndexed()) {
 | 
			
		||||
@@ -234,7 +233,7 @@ void ClangModelManagerSupport::findUsages(const CppEditor::CursorInEditor &curso
 | 
			
		||||
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    CppModelManager::findUsages(cursor, std::move(callback), CppModelManager::Backend::Builtin);
 | 
			
		||||
    CppModelManager::findUsages(cursor, CppModelManager::Backend::Builtin);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ClangModelManagerSupport::switchHeaderSource(const Utils::FilePath &filePath, bool inNextSplit)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user