forked from qt-creator/qt-creator
ClangCodeModel: Remove inapplicable TODO item
It's not worth the extra effort to restrict the identifier <-> file name check to data types: There is hardly any possibility for a completely false positive, as local variables do not pass through this code path. Change-Id: Ia92549c8c6723e520789a2ad820a2606620d4efe Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1230,7 +1230,7 @@ void ClangdClient::Private::addSearchResultsForFile(ReferencesData &refData,
|
||||
if (fileInSession && file.baseName().compare(
|
||||
refData.replacementData->oldSymbolName,
|
||||
Qt::CaseInsensitive) == 0) {
|
||||
refData.replacementData->fileRenameCandidates << file; // TODO: We want to do this only for types. Use SymbolInformation once we have it.
|
||||
refData.replacementData->fileRenameCandidates << file;
|
||||
}
|
||||
}
|
||||
items << item;
|
||||
|
Reference in New Issue
Block a user