Skip to content

Commit e8c390d

Browse files
mstorsjotstellar
authored andcommitted
[clang-tidy] Rename the make-confusable-table executable
Rename it to clang-tidy-confusable-chars-gen, to make its role clearer in a wider context. In cross builds, the caller might want to provide this tool externally (to avoid needing to rebuild it in the cross build). In such a case, having the tool properly namespaced makes its role clearer. This matches how the clang-pseudo-gen tool was renamed in a43fef0 / D126725. Differential Revision: https://reviews.llvm.org/D129798 (cherry picked from commit 18b4a8b)
1 parent 57bdd98 commit e8c390d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

clang-tools-extra/clang-tidy/misc/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ set(LLVM_LINK_COMPONENTS
44
)
55

66
if(LLVM_USE_HOST_TOOLS)
7-
build_native_tool(make-confusable-table make_confusable_table)
7+
build_native_tool(clang-tidy-confusable-chars-gen make_confusable_table)
88
set(make_confusable_table_target "${make_confusable_table}")
99
else()
10-
set(make_confusable_table $<TARGET_FILE:make-confusable-table>)
11-
set(make_confusable_table_target make-confusable-table)
10+
set(make_confusable_table $<TARGET_FILE:clang-tidy-confusable-chars-gen>)
11+
set(make_confusable_table_target clang-tidy-confusable-chars-gen)
1212
endif()
1313

1414
add_subdirectory(ConfusableTable)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS Support)
22
list(REMOVE_ITEM LLVM_COMMON_DEPENDS clang-tablegen-targets)
33

4-
add_llvm_executable(make-confusable-table
4+
add_llvm_executable(clang-tidy-confusable-chars-gen
55
BuildConfusableTable.cpp
66
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
executable("make-confusable-table") {
1+
executable("clang-tidy-confusable-chars-gen") {
22
deps = [ "//llvm/lib/Support" ]
33
sources = [ "BuildConfusableTable.cpp" ]
44
}

0 commit comments

Comments
 (0)