C++ Representer with Clang

Is it ok to use Clang AST? If I understand right, for now, Ubuntu LTS default GCC is used to compile submitted code. Will it be overhead to compile the code twice with GCC for tests and with Clang to represent the code?

Hey Andrew,

if you can write a representer with the help of Clang’s AST, you are very welcome to show it. I would be very interested as well.

If the AST can be obtained during “normal” compilation, it would be a big benefit to have the test runner generate the code for the analyzer. If you would need a second pass to get the AST anyway, then I don’t see a reason against doing twice, it in clang and in gcc.