StructLayout
StructLayout copied to clipboard
MSVC Support for /d1reportSingleClassLayoutXXX
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.
I like the idea!! The more seamless the better!!
Even if the information is not exactly the same I think it can be a valuable addition. I will have a look at it for sure after having the extension more stable.