forked from qt-creator/qt-creator
		
	Merge remote-tracking branch 'origin/10.0'
Conflicts: src/plugins/python/pipsupport.cpp src/plugins/qtsupport/exampleslistmodel.cpp src/plugins/qtsupport/examplesparser.cpp tests/auto/examples/tst_examples.cpp Change-Id: I00273622423fa99d41621969f6ecbbdaa0e18664
This commit is contained in:
		@@ -319,7 +319,7 @@ void ClangModelManagerSupport::globalRename(const CursorInEditor &cursor,
 | 
			
		||||
            client && client->isFullyIndexed()) {
 | 
			
		||||
        QTC_ASSERT(client->documentOpen(cursor.textDocument()),
 | 
			
		||||
                   client->openDocument(cursor.textDocument()));
 | 
			
		||||
        client->findUsages(cursor.textDocument(), cursor.cursor(), replacement, callback);
 | 
			
		||||
        client->findUsages(cursor, replacement, callback);
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    CppModelManager::globalRename(cursor, replacement, callback, CppModelManager::Backend::Builtin);
 | 
			
		||||
@@ -331,8 +331,7 @@ void ClangModelManagerSupport::findUsages(const CursorInEditor &cursor) const
 | 
			
		||||
            client && client->isFullyIndexed()) {
 | 
			
		||||
        QTC_ASSERT(client->documentOpen(cursor.textDocument()),
 | 
			
		||||
                   client->openDocument(cursor.textDocument()));
 | 
			
		||||
        client->findUsages(cursor.textDocument(), cursor.cursor(), {}, {});
 | 
			
		||||
 | 
			
		||||
        client->findUsages(cursor, {}, {});
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    CppModelManager::findUsages(cursor, CppModelManager::Backend::Builtin);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user