forked from qt-creator/qt-creator
ClangTools: Support doc urls for pre-relase clang-tidy
Change-Id: I9c28b5846d576d0b17c2e36f790d59b6bb005f6b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -25,13 +25,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "executableinfo.h"
|
||||
|
||||
#include <cppeditor/clangdiagnosticconfig.h>
|
||||
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/id.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QPair>
|
||||
#include <QString>
|
||||
#include <QVersionNumber>
|
||||
|
||||
@@ -40,6 +40,8 @@ namespace Internal {
|
||||
|
||||
const char diagnosticConfigIdKey[] = "DiagnosticConfig";
|
||||
|
||||
using VersionAndSuffix = QPair<QVersionNumber, QString>;
|
||||
|
||||
class RunSettings
|
||||
{
|
||||
public:
|
||||
@@ -90,7 +92,7 @@ public:
|
||||
RunSettings runSettings() const { return m_runSettings; }
|
||||
void setRunSettings(const RunSettings &settings) { m_runSettings = settings; }
|
||||
|
||||
static QVersionNumber clangTidyVersion();
|
||||
static VersionAndSuffix clangTidyVersion();
|
||||
static QVersionNumber clazyVersion();
|
||||
|
||||
signals:
|
||||
@@ -111,7 +113,7 @@ private:
|
||||
RunSettings m_runSettings;
|
||||
|
||||
// Version info. Ephemeral.
|
||||
QVersionNumber m_clangTidyVersion;
|
||||
VersionAndSuffix m_clangTidyVersion;
|
||||
QVersionNumber m_clazyVersion;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user