[libc-commits] [libc] [libc] implemented add_function to yaml hdrgen (PR #97079)
Alan Zhao via libc-commits
libc-commits at lists.llvm.org
Fri Jun 28 10:15:02 PDT 2024
================
@@ -23,6 +22,11 @@
from class_implementation.classes.object import Object
+class MyDumper(yaml.Dumper):
----------------
alanzhao1 wrote:
1. Consider renaming this to something more descriptive (maybe `IndentListDumper`?)
2. If you don't need this class anywhere else, you can define it in `add_function_to_yaml(...)` to reduce its scope.
https://github.com/llvm/llvm-project/pull/97079
More information about the libc-commits
mailing list