I've been looking into using Clang for a tool. But the only "documentation" I can find is the Doxygen output, which is about as useful as the wrong end of an automatic shotgun, and the API itself is about as user-friendly as nuclear waste. It makes some reference to a programmer's guide, but I can't actually seem to find anything like that.
Are there any decent tutorials around the Clang C++ API?
I found the following information illustrative:
Though I also found the documentation tends to focus on the c api; libclang.
After reading some of the tutorials above most of the commented source code made much more sense.
However the code base moves quickly and I have found that there has been some refactoring activity with the latest checkouts from svn so the tutorials may need to be updated slightly.
Best you can use is Eli Bendersky's blog posts on llvm/clang.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With