Skip to content

Commit 546b140

Browse files
committed
rename parameter
1 parent 5e8c54e commit 546b140

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ClangTidy.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function(swift_create_clang_tidy_targets)
112112
return()
113113
endif()
114114

115-
set(argOption "DONT_GENERATE_CLANG_TIDY_CONFIG" "INTEGRITY" "WITHOUT_SWIFT_TYPES")
115+
set(argOption "DONT_GENERATE_CLANG_TIDY_CONFIG" "STYLE_GUIDE" "WITHOUT_SWIFT_TYPES")
116116
set(argSingle "")
117117
set(argMulti "FLAGS_TO_ENABLE")
118118

@@ -260,7 +260,7 @@ function(swift_create_clang_tidy_targets)
260260
-readability-uppercase-literal-suffix
261261
-readability-use-anyofallof)
262262

263-
if (NOT x_INTEGRITY)
263+
if (NOT x_STYLE_GUIDE)
264264
list(APPEND disabled_checks -readability-identifier-naming)
265265
endif()
266266

@@ -283,7 +283,7 @@ HeaderFilterRegex: '.*'
283283
AnalyzeTemporaryDtors: true
284284
")
285285

286-
if (x_INTEGRITY)
286+
if (x_STYLE_GUIDE)
287287
file (APPEND ${CMAKE_SOURCE_DIR}/.clang-tidy "\
288288
CheckOptions:
289289
- { key: readability-identifier-naming.ClassCase, value: CamelCase }

0 commit comments

Comments
 (0)