aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2019-09-03 19:20:49 +0100
committerSergio Martins <smartins@kde.org>2019-09-03 19:20:49 +0100
commit6bbdc9b71b306dd00eae1050226a6990e615da45 (patch)
tree73983aceafe51f01c0c6fdea6444c4d9b02e0bfe /src
parent8bb841ae24fa6b91e0930607b299ff8675c8330a (diff)
qproperty-type-mismatch: Move to manual level
has many false positives for now
Diffstat (limited to 'src')
-rw-r--r--src/Checks.h4
-rw-r--r--src/checks/manuallevel/qproperty-type-mismatch.cpp (renamed from src/checks/level1/qproperty-type-mismatch.cpp)0
-rw-r--r--src/checks/manuallevel/qproperty-type-mismatch.h (renamed from src/checks/level1/qproperty-type-mismatch.h)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/Checks.h b/src/Checks.h
index df4d11d3..48672102 100644
--- a/src/Checks.h
+++ b/src/Checks.h
@@ -35,6 +35,7 @@
#include "checks/manuallevel/inefficient-qlist.h"
#include "checks/manuallevel/isempty-vs-count.h"
#include "checks/manuallevel/qhash-with-char-pointer-key.h"
+#include "checks/manuallevel/qproperty-type-mismatch.h"
#include "checks/manuallevel/qrequiredresult-candidates.h"
#include "checks/manuallevel/qstring-varargs.h"
#include "checks/manuallevel/qt-keywords.h"
@@ -87,7 +88,6 @@
#include "checks/level1/qdeleteall.h"
#include "checks/level1/qhash-namespace.h"
#include "checks/level1/qlatin1string-non-ascii.h"
-#include "checks/level1/qproperty-type-mismatch.h"
#include "checks/level1/qproperty-without-notify.h"
#include "checks/level1/qstring-left.h"
#include "checks/level1/range-loop.h"
@@ -128,6 +128,7 @@ void CheckManager::registerChecks()
registerCheck(check<InefficientQList>("inefficient-qlist", ManualCheckLevel, RegisteredCheck::Option_VisitsDecls));
registerCheck(check<IsEmptyVSCount>("isempty-vs-count", ManualCheckLevel, RegisteredCheck::Option_VisitsStmts));
registerCheck(check<QHashWithCharPointerKey>("qhash-with-char-pointer-key", ManualCheckLevel, RegisteredCheck::Option_VisitsDecls));
+ registerCheck(check<QPropertyTypeMismatch>("qproperty-type-mismatch", ManualCheckLevel, RegisteredCheck::Option_VisitsDecls));
registerCheck(check<QRequiredResultCandidates>("qrequiredresult-candidates", ManualCheckLevel, RegisteredCheck::Option_VisitsDecls));
registerCheck(check<QStringVarargs>("qstring-varargs", ManualCheckLevel, RegisteredCheck::Option_VisitsStmts));
registerCheck(check<QtKeywords>("qt-keywords", ManualCheckLevel, RegisteredCheck::Option_None));
@@ -188,7 +189,6 @@ void CheckManager::registerChecks()
registerCheck(check<QDeleteAll>("qdeleteall", CheckLevel1, RegisteredCheck::Option_VisitsStmts));
registerCheck(check<QHashNamespace>("qhash-namespace", CheckLevel1, RegisteredCheck::Option_VisitsDecls));
registerCheck(check<QLatin1StringNonAscii>("qlatin1string-non-ascii", CheckLevel1, RegisteredCheck::Option_VisitsStmts));
- registerCheck(check<QPropertyTypeMismatch>("qproperty-type-mismatch", CheckLevel1, RegisteredCheck::Option_VisitsDecls));
registerCheck(check<QPropertyWithoutNotify>("qproperty-without-notify", CheckLevel1, RegisteredCheck::Option_VisitsStmts));
registerCheck(check<QStringLeft>("qstring-left", CheckLevel1, RegisteredCheck::Option_VisitsStmts));
registerCheck(check<RangeLoop>("range-loop", CheckLevel1, RegisteredCheck::Option_VisitsStmts));
diff --git a/src/checks/level1/qproperty-type-mismatch.cpp b/src/checks/manuallevel/qproperty-type-mismatch.cpp
index 5fb520bf..5fb520bf 100644
--- a/src/checks/level1/qproperty-type-mismatch.cpp
+++ b/src/checks/manuallevel/qproperty-type-mismatch.cpp
diff --git a/src/checks/level1/qproperty-type-mismatch.h b/src/checks/manuallevel/qproperty-type-mismatch.h
index e0e40868..e0e40868 100644
--- a/src/checks/level1/qproperty-type-mismatch.h
+++ b/src/checks/manuallevel/qproperty-type-mismatch.h