I need to transverse AST using libclang. All solutions I have found tell me to dump the AST in a .ast file and then create translationUnit with that file for transversing.
It would be great to be able to do the following: Generate AST for some code programmatically and then use CXUnsavedFile to create translationUnit with it