forked from qt-creator/qt-creator
ClangTools: Clean up plugin tests
We can provide the run settings explicitly instead of writing to the settings. Change-Id: Ibb9ef0280c14315ff7ba72be75dfd04c50d84484 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -52,6 +52,7 @@ namespace Internal {
|
||||
class ClangToolsDiagnosticModel;
|
||||
class Diagnostic;
|
||||
class DiagnosticFilterModel;
|
||||
class RunSettings;
|
||||
|
||||
const char ClangTidyClazyPerspectiveId[] = "ClangTidyClazy.Perspective";
|
||||
|
||||
@@ -73,12 +74,13 @@ public:
|
||||
AskUser,
|
||||
};
|
||||
void startTool(FileSelection fileSelection);
|
||||
void startTool(const RunSettings &runSettings, FileSelection fileSelection);
|
||||
|
||||
Diagnostics read(OutputFileFormat outputFileFormat,
|
||||
const QString &logFilePath,
|
||||
const QString &mainFilePath,
|
||||
const QSet<Utils::FilePath> &projectFiles,
|
||||
QString *errorMessage) const;
|
||||
const QString &logFilePath,
|
||||
const QString &mainFilePath,
|
||||
const QSet<Utils::FilePath> &projectFiles,
|
||||
QString *errorMessage) const;
|
||||
|
||||
FileInfos collectFileInfos(ProjectExplorer::Project *project,
|
||||
FileSelection fileSelection) const;
|
||||
|
||||
Reference in New Issue
Block a user