2022-10-06 04:57:47 +00:00
|
|
|
include_guard(GLOBAL)
|
|
|
|
|
|
|
|
if(NOT CLANG_APPLY_REPLACEMENTS_NAME)
|
|
|
|
set(CLANG_APPLY_REPLACEMENTS_NAMES clang-apply-replacements)
|
2024-03-28 07:08:29 +00:00
|
|
|
foreach(V RANGE 9 19)
|
2022-10-06 04:57:47 +00:00
|
|
|
list(INSERT CLANG_APPLY_REPLACEMENTS_NAMES 0 "clang-apply-replacements-${V}")
|
|
|
|
endforeach()
|
|
|
|
unset(V)
|
|
|
|
else()
|
|
|
|
set(CLANG_APPLY_REPLACEMENTS_NAMES ${CLANG_APPLY_REPLACEMENTS_NAME})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
find_program(CLANG_APPLY_REPLACEMENTS_EXE NAMES ${CLANG_APPLY_REPLACEMENTS_NAMES})
|
|
|
|
unset(CLANG_APPLY_REPLACEMENTS_NAMES)
|