[cfe-dev] libclang classes defined by template instantiations

Wills, Samuel - EXT via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 15 07:43:19 PST 2017


Hello,



I have been working on a project for my company over the last few months that uses libclang. Over the last couple of months, I have been working to get information about classes created by template instantiations in our programs. Unfortunately, libclang skips classes defined by template instantiations in its walk of the AST. I know that Clang has other functions that are able to step through classes defined by template instantiations, but those functions are considered unstable. My company wants something stable, which libclang is. I am currently working on a workaround that will solve most of our problems, but will not solve all of them. Are there any plans to allow libclang to step through classes defined by template instantiations in the future? At that point, I could rewrite the code of our company's tool to do everything that we want it to do.



This is my first time posting to this email list. Also, this is my first year at a programming job, so I am somewhat new to this industry.



Thank you very much!



Samuel Wills

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171115/8415dd91/attachment.html>


More information about the cfe-dev mailing list