TC-I Code to Write

See The src/callgraph Directory, The src/inlining Directory and The src/astclone Directory.

In this section you will use TWEAST.

src/callgraph/call-graph-visitor.cc

Implement the visitor that allows to build the callgraph.

src/inlining/inliner.*

Implement the visitor that allows certain functions to be inlined.

src/inlining/pruner.*

Implement the visitor that allows certain elements of the AST to be pruned.