Skip to content

Commit ecd5c81

Browse files
author
Michael Wurm
authored
Remove a debug warning [ESD-1410] (#12)
1 parent ce342d7 commit ecd5c81

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ClangTidy.cmake

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
# clang-tidy-all - will run `<script> all`
2828
# clang-tidy-diff - will run `<script> diff`
2929
#
30-
# If a script is not explicitly passed this function will first search for a
30+
# If a script is not explicitly passed this function will first search for a
3131
# custom linting script. The script must exist in ${CMAKE_CURRENT_SOURCE_DIR}/scripts
3232
# and be named either clang-tidy.sh or clang-tidy.bash. It will be called with
3333
# the same arguments as described above.
3434
#
3535
# If no custom script is available this function will generate some default linting
36-
# commands. clang-tidy will be called and passed a list of files to lint.
36+
# commands. clang-tidy will be called and passed a list of files to lint.
3737
#
3838
# The file list can be constructed in one of two ways, either by GLOB patterns or
3939
# a list of targets
@@ -76,7 +76,7 @@
7676
#
7777
# The default value is ON for top level projects, and OFF for any others.
7878
#
79-
# Running
79+
# Running
8080
#
8181
# cmake -D<project>_ENABLE_CLANG_TIDY=OFF ..
8282
#
@@ -237,7 +237,7 @@ function(swift_setup_clang_tidy)
237237

238238
# First search for an appropriate clang-tidy
239239
if(NOT x_CLANG_TIDY_NAMES)
240-
set(x_CLANG_TIDY_NAMES
240+
set(x_CLANG_TIDY_NAMES
241241
clang-tidy60 clang-tidy-6.0
242242
clang-tidy40 clang-tidy-4.0
243243
clang-tidy39 clang-tidy-3.9
@@ -272,7 +272,6 @@ function(swift_setup_clang_tidy)
272272
if(NOT srcs)
273273
early_exit(WARNING "Couldn't find any source/header files to tidy in ${PROJECT_NAME}")
274274
else()
275-
message(WARNING "$$$$ ${x_EXTRA_ARGS}")
276275
create_targets(
277276
TOP_LEVEL ${top_level_project}
278277
ALL_COMMAND

0 commit comments

Comments
 (0)