Skip to content

MSVC Support for /d1reportSingleClassLayoutXXX #9

@skarolewics

Description

@skarolewics

I've been unable to get StructLayout to compile so far, due to differences between Clang/MSVC. For MSVC, there is a flag to CL.exe, /d1reportSingleClassLayoutX that reports struct layout (where X is the name of a class, such as /d1reportSingleClassLayoutMyClassName ).

Having an option to use this to get the struct data, and then display it in StructLayout's window, may be a helpful alternative for others to set up this add-in as well. Though I am not sure what Clang's AST provides that may be missing with this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions