forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.12'
Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/libs/qtcreatorcdbext/qtcreatorcdbextension.cpp Change-Id: If6963d1ef7b5a1ea6343f68c8e7ce6fb5f482f21
This commit is contained in:
@@ -269,8 +269,11 @@ protected:
|
||||
}
|
||||
}
|
||||
|
||||
if (type != SemanticHighlighter::UnknownType)
|
||||
addUse(location, type);
|
||||
if (type != SemanticHighlighter::UnknownType) {
|
||||
// do not add uses of length 0 - this messes up highlighting (e.g. anon functions)
|
||||
if (location.length != 0)
|
||||
addUse(location, type);
|
||||
}
|
||||
}
|
||||
|
||||
void processTypeId(UiQualifiedId *typeId)
|
||||
|
||||
Reference in New Issue
Block a user