[cfe-dev] Iterate over struct's fields
Miklos Vajna via cfe-dev
cfe-dev at lists.llvm.org
Wed Feb 6 00:46:31 PST 2019
Hi,
On Tue, Feb 05, 2019 at 08:38:36PM +0000, "Hayrapetyan, Anahit via cfe-dev" <cfe-dev at lists.llvm.org> wrote:
> How can I get the real RecordDecl, the one that also has FieldDecls for struct?
Did you try getUnderlyingType()? See
<http://clang.llvm.org/doxygen/classclang_1_1TypedefNameDecl.html>.
Regards,
Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190206/a2310320/attachment.sig>
More information about the cfe-dev
mailing list