[libc-commits] [libc] [libc] Remove verbose printing from hdrgen tool (PR #101376)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu Aug 1 09:12:04 PDT 2024
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/101376
>From 4bde5bba7267441e3253a0e178b9366511bcd0d4 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 | 2 --
1 file changed, 2 deletions(-)
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