<div dir="ltr">All the examples of Clang plugin and FrontendActions I've read are to get the AST and print some information, I'm curious if I can modify the AST to make some dialect C++ language?<div><br></div><div>I got some examples I think is easy to do if AST could be modified:</div><div>1. make all subclasses inherit baseclasses' friend class</div><div>2. make all method virtual (like Java)</div></div>