Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a powerful technique for automating C++ boilerplate code generation using clang 3.9 front-end and its 'libtooling' library in this ACCU 2017 conference talk. Learn how to develop a clang-based tool from scratch, including command line options analysis, clang compiler invocation, AST investigation, and result code generation. Discover methods for integrating custom tools into CMake-based build systems and see practical examples for creating enum-to-string converters, data serialization/deserialization, and remoting proxy/stubs. Gain insights into reducing coding effort and improving productivity by leveraging clang's capabilities for automatic source code generation in C++ projects.