forked from OSchip/llvm-project
[pseudo] rename pseudo-gen -> clang-pseudo-gen. NFC
This name is not namespaced. Requested in D126717 Differential Revision: https://reviews.llvm.org/D126725
This commit is contained in:
parent
87099a0438
commit
a43fef05d4
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue