[all-commits] [llvm/llvm-project] e6e7da: [libc][hdrgen] Improve support for function-types ...
Alexey Samsonov via All-commits
all-commits at lists.llvm.org
Tue Sep 29 11:49:02 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6e7da35405a3f6d91bc6a91d8bb2bd533a94276
https://github.com/llvm/llvm-project/commit/e6e7da35405a3f6d91bc6a91d8bb2bd533a94276
Author: Alexey Samsonov <vonosmas at gmail.com>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M libc/utils/hdrgen/hdrgen/function.py
M libc/utils/hdrgen/tests/expected_output/subdir/test.h
M libc/utils/hdrgen/tests/input/subdir/test.yaml
Log Message:
-----------
[libc][hdrgen] Improve support for function-types as function args. (#227088)
Previously entries like
```
type: int (*)(const struct type_b **, const struct type_c **)
```
ended up assuming the type should be `struct_type_b_struct_type_c`.
Fix this by splitting the type strings into components, where each
component can be a type name itself (which is the case for a complex
function types like in the example above. This was raised during the
discussion in https://github.com/llvm/llvm-project/pull/223198
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list