aboutsummaryrefslogtreecommitdiffstats
path: root/CheckSources.cmake
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-08-15 19:22:02 +0100
committerSergio Martins <smartins@kde.org>2018-08-15 19:40:34 +0100
commit70032c8ed25345da49578e8d1b7db22fa17c7eed (patch)
tree6586b40cbd8b0146bc293730dfd158ca0829c4ce /CheckSources.cmake
parente8930370f63e45652d377afcae63edc62a5b1a3b (diff)
Introduce raw-environment-function
Suggests qputenv/qgetenv instead of putenv/getenv. Disabled by default. Enable it manually if you need the thread-safety guarantees of the Qt equivalents. BUG: 395303
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 dadc41ea..042a40e9 100644
--- a/CheckSources.cmake
+++ b/CheckSources.cmake
@@ -6,6 +6,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/raw-environment-function.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/tr-non-literal.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/manuallevel/unneeded-cast.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/connect-by-name.cpp