aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangtools/clangtidyclazyrunner.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2019-08-02 10:33:06 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2019-09-12 10:51:48 +0000
commit74688679b29412512e2dc0c1f3b5c3c15a678b29 (patch)
treea7fe05ff768b4cafd2256a0e12a10513306b7d38 /src/plugins/clangtools/clangtidyclazyrunner.h
parenta8f00d147c4177be68ff5031b881066ee7004175 (diff)
ClangTools: Allow invoking clazy-standalone instead of clang
...this is for testing and debugging purposes so far. Eventually, we want to switch to clazy-standalone. But as of now there is no released clazy version supporting the required "-export-fixes=" option. It's in clazy's master branch only. Change-Id: If09941dc387658bbc17646a9140f4ee8fad4d6b3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/plugins/clangtools/clangtidyclazyrunner.h')
-rw-r--r--src/plugins/clangtools/clangtidyclazyrunner.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/clangtools/clangtidyclazyrunner.h b/src/plugins/clangtools/clangtidyclazyrunner.h
index 1edc684c0f..72cd7a155c 100644
--- a/src/plugins/clangtools/clangtidyclazyrunner.h
+++ b/src/plugins/clangtools/clangtidyclazyrunner.h
@@ -40,6 +40,14 @@ public:
ClangTidyRunner(const CppTools::ClangDiagnosticConfig &config, QObject *parent = nullptr);
};
+class ClazyStandaloneRunner final : public ClangToolRunner
+{
+ Q_OBJECT
+
+public:
+ ClazyStandaloneRunner(const CppTools::ClangDiagnosticConfig &config, QObject *parent = nullptr);
+};
+
class ClazyPluginRunner final : public ClangToolRunner
{
Q_OBJECT