[PATCH] D126725: [pseudo] rename pseudo-gen -> clang-pseudo-gen. NFC

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 31 15:07:39 PDT 2022


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added a subscriber: mgorny.
Herald added a project: All.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, llvm-commits, alextsao1999.
Herald added projects: LLVM, clang-tools-extra.

This name is not namespaced. Requested in D126717 <https://reviews.llvm.org/D126717>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126725

Files:
  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


Index: llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
+++ 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",
Index: clang-tools-extra/pseudo/include/CMakeLists.txt
===================================================================
--- clang-tools-extra/pseudo/include/CMakeLists.txt
+++ 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.
Index: clang-tools-extra/pseudo/gen/CMakeLists.txt
===================================================================
--- clang-tools-extra/pseudo/gen/CMakeLists.txt
+++ clang-tools-extra/pseudo/gen/CMakeLists.txt
@@ -1,10 +1,10 @@
 set(LLVM_LINK_COMPONENTS Support)
 
-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
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126725.433204.patch
Type: text/x-patch
Size: 1615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220531/b9551a00/attachment.bin>


More information about the cfe-commits mailing list