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

via libc-commits libc-commits at lists.llvm.org
Mon Sep 16 08:53:47 PDT 2024


Author: Jeff Bailey
Date: 2024-09-16T16:53:43+01:00
New Revision: 50985d23e517b4238effcd3e41b0329fdc6a6999

URL: https://github.com/llvm/llvm-project/commit/50985d23e517b4238effcd3e41b0329fdc6a6999
DIFF: https://github.com/llvm/llvm-project/commit/50985d23e517b4238effcd3e41b0329fdc6a6999.diff

LOG: [libc][nfc] Fix typo in header generation message. (#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

Added: 
    

Modified: 
    libc/cmake/modules/LLVMLibCHeaderRules.cmake

Removed: 
    


################################################################################
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