From 036d608a7489aea05e876c532e55c3ca15d4042c Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Thu, 13 Dec 2018 15:52:28 +0000 Subject: [PATCH] Update to new clazy warnings. --- mkspecs/features/warnings.pri | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mkspecs/features/warnings.pri b/mkspecs/features/warnings.pri index ceaee60ef..b4faaf031 100644 --- a/mkspecs/features/warnings.pri +++ b/mkspecs/features/warnings.pri @@ -41,11 +41,11 @@ gcc { # clazy - Qt-aware linter equals(QMAKE_CXX, clazy)|equals(QMAKE_CXX, clazy-cl) { CLAZY_WARNINGS *= level3 no-reserve-candidates + CLAZY_WARNINGS *= isempty-vs-count raw-environment-function tr-non-literal # TODO: gradually fix issues so we can re-enable some of these warnings - CLAZY_WARNINGS *= no-inefficient-qlist-soft no-qstring-allocations - CLAZY_WARNINGS *= no-missing-qobject-macro no-ctor-missing-parent-argument - CLAZY_WARNINGS *= no-copyable-polymorphic no-function-args-by-value + CLAZY_WARNINGS *= no-qstring-allocations no-copyable-polymorphic no-function-args-by-value + CLAZY_WARNINGS *= no-inefficient-qlist-soft no-ctor-missing-parent-argument QMAKE_CXXFLAGS_WARN_ON += -Xclang -plugin-arg-clang-lazy -Xclang $$join(CLAZY_WARNINGS, ",") }