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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Joseph Huber (jhuber6)

<details>
<summary>Changes</summary>

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.


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


1 Files Affected:

- (modified) libc/newhdrgen/yaml_to_classes.py (-3) 


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

``````````

</details>


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


More information about the libc-commits mailing list