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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Jul 31 11:02:25 PDT 2024


https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/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.


>From 1141b6df687feb9fa84b7285f68a4743afa36f1a Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Wed, 31 Jul 2024 12:58:53 -0500
Subject: [PATCH] [libc] Remove verbose printing from hdrgen tool

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.
---
 libc/newhdrgen/yaml_to_classes.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libc/newhdrgen/yaml_to_classes.py b/libc/newhdrgen/yaml_to_classes.py
index d3bdfde2e2a22..e2d1ee4de494f 100644
--- a/libc/newhdrgen/yaml_to_classes.py
+++ b/libc/newhdrgen/yaml_to_classes.py
@@ -252,9 +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")
     parser.add_argument(



More information about the libc-commits mailing list