Files
qt-creator/dist/clang/patches/140_QTCREATORBUG-15157_Link-with-clazy_extra.patch
Nikolai Kosjar 3c745a9eaa Clang: Enumerate clang patches
...to provide some more natural way of appending/inserting new ones at a
specific position. The enumeration also helps to communicate about the
patches.

Change-Id: I8ac911269a11d24a46920c81cd3231c06b94b828
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-16 10:10:07 +00:00

14 lines
461 B
Diff

diff --git a/tools/clang/tools/extra/CMakeLists.txt b/tools/clang/tools/extra/CMakeLists.txt
index 760340a6..53f720c4 100644
--- a/tools/clang/tools/extra/CMakeLists.txt
+++ b/tools/clang/tools/extra/CMakeLists.txt
@@ -5,6 +5,8 @@ if(CLANG_ENABLE_STATIC_ANALYZER)
add_subdirectory(clang-tidy)
add_subdirectory(clang-tidy-vs)
endif()
+set(CLAZY_BUILD_WITH_CLANG 1)
+add_subdirectory(clazy)
add_subdirectory(change-namespace)
add_subdirectory(clang-query)