diff options
author | Sergio Martins <smartins@kde.org> | 2019-05-09 19:48:17 +0100 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2019-05-09 20:10:11 +0100 |
commit | 52c35819162bd23b3b4e406784fa5cbc17cedfcc (patch) | |
tree | b871c5e839816090f6412d0d3944ff7adda16baa /CheckSources.cmake | |
parent | 948a23ae1b1553cf67dc8b523236cc0e7dc74994 (diff) |
qvariant-template-instantiation: Move out of level 0, since it has false-positives
This check has really been noise since its creation. The rate of false-positives
don't justify the insignificant compilation performance gains. Moved to manual level now.
Currently it has a bug, which doesn't seem possible to solve,
as the instantiated template doesn't carry over the information about the qint32 typedef.
And the CallExpr doesn't have any template related getters.
Also removed this check from the "performance" category in checks.json, since
this category is for runtime performance.
CCBUG: 407321
Diffstat (limited to 'CheckSources.cmake')
-rw-r--r-- | CheckSources.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CheckSources.cmake b/CheckSources.cmake index 69f05299..5f8d3d62 100644 --- a/CheckSources.cmake +++ b/CheckSources.cmake @@ -10,6 +10,7 @@ set(CLAZY_CHECKS_SRCS ${CLAZY_CHECKS_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/qstring-varargs.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/qt-keywords.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/qt4-qstring-from-array.cpp + ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/qvariant-template-instantiation.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/raw-environment-function.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/reserve-candidates.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/thread-with-slots.cpp @@ -35,7 +36,6 @@ set(CLAZY_CHECKS_SRCS ${CLAZY_CHECKS_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/qstring-insensitive-allocation.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/qstring-ref.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/qt-macros.cpp - ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/qvariant-template-instantiation.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/strict-iterators.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/temporary-iterator.cpp ${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/unused-non-trivial-variable.cpp |