We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22a0f0 commit 8dfb955Copy full SHA for 8dfb955
ClangTidy.cmake
@@ -166,7 +166,7 @@ function(swift_create_clang_tidy_targets)
166
string(REPLACE ";" "," comma_checks "${all_checks}")
167
168
# Generate .clang-tidy in project root dir
169
- file(WRITE ${CMAKE_SOURCE_DIR}/.clang-tidy "\
+ file(WRITE ${CMAKE_BINARY_DIR}/.clang-tidy "\
170
# Automatically generated, do not edit
171
# Enabled checks are generated from SwiftClangTidy.cmake
172
Checks: \"${comma_checks}\"
0 commit comments