Two uses cases for the clang C++ parser: Online Code Browser and Qt moc Replacement.
- Track: LLVM devroom
- Room: K.4.401
- Day: Sunday
- Start: 12:30
- End: 12:55
In this talk we will see how one can use the clang libraries to build two practical tools. The first tool is an online C/C++ online code browser that uses clang to parse the AST in order to provide information about each token and build a cross reference database. [http://code.woboq.org] The second tool is a replacement for Qt's moc (meta-object compiler) which is used by Qt to provide introspection and enable signals and slots and the QML language, both as a stand alone executable or as a clang plugin. [https://github.com/woboq/moc-ng] The talk goes over implementation details and challenges encountered while developing.
Speakers
Olivier Goffart |