forked from qt-creator/qt-creator
ClangToolRunner: Flatten the class hierarchy
Instead of creating subclasses of ClangToolRunner configure the base class according to the tool specifics. Change-Id: I51b611b2375571453c7f9690499d744582f035c1 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -49,8 +49,8 @@ private:
|
||||
bool isSuppressed(const Diagnostic &diagnostic) const;
|
||||
|
||||
const CppEditor::ClangDiagnosticConfig getDiagnosticConfig(ProjectExplorer::Project *project);
|
||||
template<class T>
|
||||
ClangToolRunner *createRunner(const CppEditor::ClangDiagnosticConfig &config,
|
||||
ClangToolRunner *createRunner(CppEditor::ClangToolType tool,
|
||||
const CppEditor::ClangDiagnosticConfig &config,
|
||||
const Utils::Environment &env);
|
||||
|
||||
QTimer m_runTimer;
|
||||
|
||||
Reference in New Issue
Block a user