aboutsummaryrefslogtreecommitdiffstats
path: root/CheckSources.cmake
diff options
context:
space:
mode:
authorJean-Michaƫl Celerier <jeanmichael.celerier@gmail.com>2019-09-03 18:26:26 +0100
committerSergio Martins <smartins@kde.org>2019-09-03 18:26:26 +0100
commit1e94cb23d68e949dd4c734a63168b8bd46e3a064 (patch)
tree9d49e4b0429a170f5854f2b2b8e5d54c9d970a7d /CheckSources.cmake
parent4fab5d8d34b3a133acf0ed6a4067799d3c7a586c (diff)
Introduce qproperty-type-mismatch
Warns when any of the functions or variables declared in a Q_PROPERTY have types, arguments or return types differing with the Q_PROPERTY. REVIEW: D22962
Diffstat (limited to 'CheckSources.cmake')
-rw-r--r--CheckSources.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CheckSources.cmake b/CheckSources.cmake
index 34132e29..b447535a 100644
--- a/CheckSources.cmake
+++ b/CheckSources.cmake
@@ -59,6 +59,7 @@ set(CLAZY_CHECKS_SRCS ${CLAZY_CHECKS_SRCS}
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/qdeleteall.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/qhash-namespace.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/qlatin1string-non-ascii.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/qproperty-type-mismatch.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/qproperty-without-notify.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/qstring-left.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/range-loop.cpp