[clang-tools-extra] a43fef0 - [pseudo] rename pseudo-gen -> clang-pseudo-gen. NFC
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 3 11:46:32 PDT 2022
Author: Sam McCall
Date: 2022-06-03T20:45:48+02:00
New Revision: a43fef05d4fae32f02365c7b8fef2aa631d23628
URL: https://github.com/llvm/llvm-project/commit/a43fef05d4fae32f02365c7b8fef2aa631d23628
DIFF: https://github.com/llvm/llvm-project/commit/a43fef05d4fae32f02365c7b8fef2aa631d23628.diff
LOG: [pseudo] rename pseudo-gen -> clang-pseudo-gen. NFC
This name is not namespaced. Requested in D126717
Differential Revision: https://reviews.llvm.org/D126725
Added:
Modified:
clang-tools-extra/pseudo/gen/CMakeLists.txt
clang-tools-extra/pseudo/include/CMakeLists.txt
llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
Removed:
################################################################################
diff --git a/clang-tools-extra/pseudo/gen/CMakeLists.txt b/clang-tools-extra/pseudo/gen/CMakeLists.txt
index 25c7596c754f7..3dd615a558751 100644
--- a/clang-tools-extra/pseudo/gen/CMakeLists.txt
+++ b/clang-tools-extra/pseudo/gen/CMakeLists.txt
@@ -1,11 +1,11 @@
set(LLVM_LINK_COMPONENTS Support)
list(REMOVE_ITEM LLVM_COMMON_DEPENDS clang-tablegen-targets)
-add_clang_executable(pseudo-gen
+add_clang_executable(clang-pseudo-gen
Main.cpp
)
-target_link_libraries(pseudo-gen
+target_link_libraries(clang-pseudo-gen
PRIVATE
clangPseudoGrammar
)
diff --git a/clang-tools-extra/pseudo/include/CMakeLists.txt b/clang-tools-extra/pseudo/include/CMakeLists.txt
index 7f64897a96f5c..aff866def4939 100644
--- a/clang-tools-extra/pseudo/include/CMakeLists.txt
+++ b/clang-tools-extra/pseudo/include/CMakeLists.txt
@@ -2,11 +2,11 @@
set(cxx_bnf ${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxx.bnf)
if(LLVM_USE_HOST_TOOLS)
- build_native_tool(pseudo-gen pseudo_gen)
+ build_native_tool(clang-pseudo-gen pseudo_gen)
set(pseudo_gen_target "${pseudo_gen}")
else()
- set(pseudo_gen $<TARGET_FILE:pseudo-gen>)
- set(pseudo_gen_target pseudo-gen)
+ set(pseudo_gen $<TARGET_FILE:clang-pseudo-gen>)
+ set(pseudo_gen_target clang-pseudo-gen)
endif()
# Generate inc files.
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
index 274b6537b099b..0e4076bd142f0 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
@@ -1,4 +1,4 @@
-executable("pseudo-gen") {
+executable("clang-pseudo-gen") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/pseudo/lib/grammar",
More information about the cfe-commits
mailing list