This talk will be a ground-up introduction to the LLVM/clang library infrastructure available for creating custom tools for static analysis or (clang-format-style) source-to-source transformation. Peter will discuss the LLVM and clang tooling environment and explain how clang represents C++ source code by means of an abstract syntax tree (AST), as well as ways of traversing the AST and looking for certain points of interest, such as code style violations or more severe code smells. After a theoretical introduction I will give one practical example of how any (motivated) C++ programmer can quickly build an effective tool to increase their productivity and improve the performance, style and safety of their code. By the end of the talk Peter expects listeners to have a basic understanding of the LLVM/clang tooling ecosystem and take away knowledge they can apply immediately at home or in the office.
YOU MAY ALSO LIKE:
- DDD eXchange 2017 (in London on 27th - 28th April 2017)
- Simon Brown's Software Architecture for Developers Workshop (in London on 22nd - 23rd May 2017)
- Alberto Brandolini's DDD Modelling Workshop (in London on 26th - 28th June 2017)
- Serverless Architecture with Azure Functions with Christos Matskas! (in London on 29th November 2017)
clang-useful: exploring the clang tooling universe for fun and profit
Peter is a second-year CS student at TU Munich and currently doing a gap year to do internships and break things at Google, Facebook and Bloomberg.