[cfe-dev] Receive the data of a structure without a typedef

Zorik Cherfas via cfe-dev cfe-dev at lists.llvm.org
Sun Jun 16 01:06:48 PDT 2019


Hi

I'm trying to receive the data of a structure without a typedef.

struct s_example{
int a;
int b;
} s_example_test1 = {1,2};

The type of *s_example_test1* is *elaborated* and I'm trying to receive the
structure's data.

Is there a way to get the data?

I expected to receive the following data:
struct s_example{
int a;
int b;
}


Thanks
Zorik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190616/8e7dcacc/attachment.html>


More information about the cfe-dev mailing list