[libc-commits] [libc] 6d40580 - [libc] Remove verbose printing from hdrgen tool (#101376)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 1 09:12:06 PDT 2024


Author: Joseph Huber
Date: 2024-08-01T11:12:03-05:00
New Revision: 6d40580f917fe52a3b6992c6de2d7c60253cb906

URL: https://github.com/llvm/llvm-project/commit/6d40580f917fe52a3b6992c6de2d7c60253cb906
DIFF: https://github.com/llvm/llvm-project/commit/6d40580f917fe52a3b6992c6de2d7c60253cb906.diff

LOG: [libc] Remove verbose printing from hdrgen tool (#101376)

Summary:
This fills the terminal with information already present from the
`add_custom_command(COMMENT ...)` field, so it breaks everything into
new lines. Remove this print to clean that up.

Added: 
    

Modified: 
    libc/newhdrgen/yaml_to_classes.py

Removed: 
    


################################################################################
diff  --git a/libc/newhdrgen/yaml_to_classes.py b/libc/newhdrgen/yaml_to_classes.py
index d3bdfde2e2a22..a9d0e6424eb2c 100644
--- a/libc/newhdrgen/yaml_to_classes.py
+++ b/libc/newhdrgen/yaml_to_classes.py
@@ -252,8 +252,6 @@ def main(
         with open(output_file_path, "w") as f:
             f.write(header_str)
 
-    print(f"Generated header file: {output_file_path}")
-
 
 if __name__ == "__main__":
     parser = argparse.ArgumentParser(description="Generate header files from YAML")


        


More information about the libc-commits mailing list