forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/7.0'
Change-Id: I967615c66a11bb4823a6b403ca59e63dd1971032
This commit is contained in:
@@ -415,7 +415,7 @@ ClangdTextMark::ClangdTextMark(const FilePath &filePath,
|
||||
QVector<QAction *> actions;
|
||||
QAction *action = new QAction();
|
||||
action->setIcon(QIcon::fromTheme("edit-copy", Icons::COPY.icon()));
|
||||
action->setToolTip(tr("Clang Code Model Marks", "Copy to Clipboard"));
|
||||
action->setToolTip(tr("Copy to Clipboard", "Clang Code Model Marks"));
|
||||
QObject::connect(action, &QAction::triggered, [diag = m_diagnostic]() {
|
||||
const QString text = ClangDiagnosticWidget::createText({diag},
|
||||
ClangDiagnosticWidget::InfoBar);
|
||||
|
||||
@@ -654,6 +654,10 @@ void ClangdTestTooltips::test()
|
||||
timer.stop();
|
||||
|
||||
QEXPECT_FAIL("TypeName_ResolveTemplateTypeAlias", "typedef already resolved in AST", Abort);
|
||||
if (client()->versionNumber() >= QVersionNumber(14)) {
|
||||
QEXPECT_FAIL("TypeNameIntroducedByUsingDeclarationQualified",
|
||||
"https://github.com/clangd/clangd/issues/989", Abort);
|
||||
}
|
||||
QCOMPARE(int(helpItem.category()), expectedCategory);
|
||||
QEXPECT_FAIL("TemplateClassQualified", "Additional look-up needed?", Abort);
|
||||
QCOMPARE(helpItem.helpIds(), expectedIds);
|
||||
|
||||
Reference in New Issue
Block a user