Brussels / 1 & 2 February 2014

schedule

Two uses cases for the clang C++ parser: Online Code Browser and Qt moc Replacement.


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

Links