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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Jeff Bailey (kaladron)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/108813.diff


1 Files Affected:

- (modified) libc/cmake/modules/LLVMLibCHeaderRules.cmake (+2-2) 


``````````diff
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

``````````

</details>


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


More information about the libc-commits mailing list