ClangTools: Fix clazy plugin invocation with recent clazy

As the no-autowrite-fixits option was removed with

  c5d0a2d016

our clazy invocation is incorrect and results in the usage being
printed.

Change-Id: I104273da8722f00c3df0d69d2b57c68fc9d3c1e6
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-11-22 09:29:39 +01:00
parent 818f2d0c5c
commit 668cd2091a

View File

@@ -68,8 +68,6 @@ static QStringList clazyPluginArguments(const ClangDiagnosticConfig diagnosticCo
"-plugin-arg-clazy",
"enable-all-fixits",
"-plugin-arg-clazy",
"no-autowrite-fixits",
"-plugin-arg-clazy",
diagnosticConfig.clazyChecks()});
}