Clang AST - emit C++ code


I’ve been aware of llvm for quite a while but haven’t used it in practice.
So please excuse my silly question but I wonder if there exist tools that solve the following problem?
Given a valid clang AST-dump, or AST-description, generate code in C++.

To be clear:
I am not looking for C++ to AST to C++ (i.e. clang format),
but only AST to C++.

Thanks for any suggestions.