FYI, with Ted's latest changes, we can now use -parse-ast-view to look at ASTs. If you have graphviz set up right, you should see something like this:
FYI, with Ted's latest changes, we can now use -parse-ast-view to look at ASTs. If you have graphviz set up right, you should see something like this:
BTW, in order for this to work, you have to have dot or Graphviz installed correctly, instructions are here:
http://llvm.org/docs/ProgrammersManual.html#ViewGraph
One of the nice things about this is that you can just use things like "call S->viewAST()" in GDB and a window pops up with the subgraph for S.
-Chris
Ted,
This is very cool.
Great work,
snaroff
Chris Lattner wrote: