[libc-commits] [libc] [libc][nfc] Fix typo in header generation message. (PR #108813)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Mon Sep 16 03:17:48 PDT 2024


https://github.com/kaladron created https://github.com/llvm/llvm-project/pull/108813

Fix a typo in the header generation message.

Before:
Generating header  from /home/vscode/llvm-project/llvm/../libc/newhdrgen/yaml/ctype.yaml and /home/vscode/llvm-project/libc/include/ctype.h.def

After:
Generating header ctype.h from /home/vscode/llvm-project/llvm/../libc/newhdrgen/yaml/ctype.yaml and /home/vscode/llvm-project/libc/include/ctype.h.def

>From cb52228cb4d85747bc5a2f259adfeff87a0ab30f Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jeffbailey at google.com>
Date: Mon, 16 Sep 2024 10:04:52 +0000
Subject: [PATCH] [libc][nfc] Fix typo in header generation message.

---
 libc/cmake/modules/LLVMLibCHeaderRules.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/cmake/modules/LLVMLibCHeaderRules.cmake b/libc/cmake/modules/LLVMLibCHeaderRules.cmake
index c2c675bda26d31..76c4e1f2d3244c 100644
--- a/libc/cmake/modules/LLVMLibCHeaderRules.cmake
+++ b/libc/cmake/modules/LLVMLibCHeaderRules.cmake
@@ -118,7 +118,7 @@ function(add_gen_header2 target_name)
             ${entry_points}
             --output_dir ${out_file}
     DEPENDS ${yaml_file} ${def_file} ${fq_data_files}
-    COMMENT "Generating header ${ADD_GEN_HDR2_GE2N_HDR} from ${yaml_file} and ${def_file}"
+    COMMENT "Generating header ${ADD_GEN_HDR2_GEN_HDR} from ${yaml_file} and ${def_file}"
   )
   if(LIBC_TARGET_OS_IS_GPU)
     file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/llvm-libc-decls)
@@ -135,7 +135,7 @@ function(add_gen_header2 target_name)
       DEPENDS ${yaml_file} ${fq_data_files}
     )
   endif()
-  
+
   if(ADD_GEN_HDR2_DEPENDS)
     get_fq_deps_list(fq_deps_list ${ADD_GEN_HDR2_DEPENDS})
     # Dependencies of a add_header target can only be another add_gen_header target



More information about the libc-commits mailing list