Previously the type description structs were defined in the parser. For
the fuzzing targets we'll need to use those, so I've moved them into
core_structs.h. Additionally I've renamed the function for determining
the TypeDesc from a given type. Previously it shared its name with
get_type_desc which is a related but separate function that is a part of
the parser.
Details
Details
- Reviewers
sivachandra lntue - Commits
- rG848c700b66f5: [libc][NFC] reorganize structs in printf
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/stdio/printf_core/core_structs.h | ||
---|---|---|
93 | You can drop static here. | |
97 | Use is_pointer_v from https://github.com/llvm/llvm-project/blob/main/libc/src/__support/CPP/type_traits.h#L80 | |
98 | Use cpp::is_floating_point_v from https://github.com/llvm/llvm-project/blob/main/libc/src/__support/CPP/type_traits.h#L92 |
You can drop static here.