Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a debug warning [ESD-1410] #12

Merged
merged 1 commit into from
Jul 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions ClangTidy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
# clang-tidy-all - will run `<script> all`
# clang-tidy-diff - will run `<script> diff`
#
# If a script is not explicitly passed this function will first search for a
# If a script is not explicitly passed this function will first search for a
# custom linting script. The script must exist in ${CMAKE_CURRENT_SOURCE_DIR}/scripts
# and be named either clang-tidy.sh or clang-tidy.bash. It will be called with
# the same arguments as described above.
#
# If no custom script is available this function will generate some default linting
# commands. clang-tidy will be called and passed a list of files to lint.
# commands. clang-tidy will be called and passed a list of files to lint.
#
# The file list can be constructed in one of two ways, either by GLOB patterns or
# a list of targets
Expand Down Expand Up @@ -76,7 +76,7 @@
#
# The default value is ON for top level projects, and OFF for any others.
#
# Running
# Running
#
# cmake -D<project>_ENABLE_CLANG_TIDY=OFF ..
#
Expand Down Expand Up @@ -237,7 +237,7 @@ function(swift_setup_clang_tidy)

# First search for an appropriate clang-tidy
if(NOT x_CLANG_TIDY_NAMES)
set(x_CLANG_TIDY_NAMES
set(x_CLANG_TIDY_NAMES
clang-tidy60 clang-tidy-6.0
clang-tidy40 clang-tidy-4.0
clang-tidy39 clang-tidy-3.9
Expand Down Expand Up @@ -272,7 +272,6 @@ function(swift_setup_clang_tidy)
if(NOT srcs)
early_exit(WARNING "Couldn't find any source/header files to tidy in ${PROJECT_NAME}")
else()
message(WARNING "$$$$ ${x_EXTRA_ARGS}")
create_targets(
TOP_LEVEL ${top_level_project}
ALL_COMMAND
Expand Down