Any tutorial on libclang? [closed]

冷暖自知 提交于 2019-12-04 18:23:53

问题


I've been looking for some easy to understand guide into libclang. I've seen some threads either here or other forums but the only recommended sources of information were libclang source/doxygen doc, clang complete plugin for vim or Thinking Beyond the Compiler presentation. However, none of them provide information on practical usage. I'm interested in implementing code completion/syntax highlighting (maybe some basic refactoring/parsing).

So my question is, is there any easy to understand tutorial except of those mentioned above ? Maybe some of advanced libclang users can write one :)

Note : I'm not interested in writing plugins for clang.


回答1:


I've written this tutorial on using the Python bindings to libclang, a while ago. Since the Python bindings are very lightweight, this tutorial can definitely be used to learn about the "vanilla" C libclang as well.



来源:https://stackoverflow.com/questions/14509120/any-tutorial-on-libclang

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!