<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 2, 2015 at 1:50 PM, Bobby Anguelov <span dir="ltr"><<a href="mailto:bobby.anguelov@outlook.com" target="_blank">bobby.anguelov@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m emailing this list in the hopes that someone might be able to help me. I am currently using libclang to do some very basic reflection of C++. I am creating a translation unit for a header and then visiting all the tree elements using the cursors, in some cases I fall back onto the qualtypes to get the necessary information out. The problem that I’m having right now is that the cursor type libclang return for std::vector (and other std types like std::map ) is incorrect. It looks like libclang can’t identify the type and falls back onto default int as I am getting a type spelling of “int” for fields of type std::vector. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Given the example header file below:<u></u><u></u></p><p class="MsoNormal">#include <vector><u></u><u></u></p><p class="MsoNormal">#include <string><u></u><u></u></p><p class="MsoNormal"><br></p></div></div></blockquote><div><br></div><div>Typically this means your headers weren't found, so parsing might have failed in other ways also.  You might want to see if any diagnostics are being reported.</div><div><br></div><div>-- James</div></div></div></div>