Skip to content

ConstantArrayType does not expose Size method from Clang #514

@Ninja3047

Description

@Ninja3047

The clang ConstantArrayType has a getSize method which returns the number of elements in the array as an APInt but this is not exposed on the multiplier side. A workaround is to get the total size of the Type and divide it by the size of the element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions