forked from qt-creator/qt-creator
Clang: Fix build with clang-8
Clang-Tidy checks and Clazy flags updated. CLANG-UPGRADE-CHECK done. Change-Id: I1ca585c5c3c77a7f183719df9c262603150914e8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -86,12 +86,12 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis
|
||||
const QString clazyChecks = m_diagnosticConfig.clazyChecks();
|
||||
if (!clazyChecks.isEmpty()) {
|
||||
arguments << XclangArgs({"-add-plugin",
|
||||
"clang-lazy",
|
||||
"-plugin-arg-clang-lazy",
|
||||
"clazy",
|
||||
"-plugin-arg-clazy",
|
||||
"enable-all-fixits",
|
||||
"-plugin-arg-clang-lazy",
|
||||
"-plugin-arg-clazy",
|
||||
"no-autowrite-fixits",
|
||||
"-plugin-arg-clang-lazy",
|
||||
"-plugin-arg-clazy",
|
||||
m_diagnosticConfig.clazyChecks()});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user