2019-05-08 00:02:29 +00:00
|
|
|
diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp
|
|
|
|
index a580704243..7a8740a5cc 100644
|
|
|
|
--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp
|
|
|
|
+++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp
|
2019-12-12 00:22:18 +00:00
|
|
|
@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis
|
2019-05-08 00:02:29 +00:00
|
|
|
|
2019-12-12 00:22:18 +00:00
|
|
|
const QString clazyChecks = diagnosticConfig.clazyChecks();
|
2019-05-08 00:02:29 +00:00
|
|
|
if (!clazyChecks.isEmpty()) {
|
|
|
|
- arguments << XclangArgs({"-add-plugin",
|
|
|
|
+ arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin",
|
|
|
|
"clazy",
|
|
|
|
"-plugin-arg-clazy",
|
2019-12-12 00:22:18 +00:00
|
|
|
diagnosticConfig.clazyChecks()});
|