While looking at some of the examples and documentation on the website, I noticed that most of them are aimed at recognizing certain patterns. However, I was wondering if it is also possible to modify code during a pass. For example: can I make all functions which match a certain name empty?
For example, transform:
void f() { printf("hi"); int x = 2 + 3; }
Into:
void f() { }
-Floris