[cfe-dev] -parse-ast-view
Chris Lattner
clattner at apple.com
Wed Sep 19 17:24:55 PDT 2007
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.png
Type: image/png
Size: 55812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20070919/ae79c520/attachment.png>
-------------- next part --------------
for
void foo(int *P, int N) {
for (int i = 0; i != N; ++i)
P[i] = N;
}
nifty!
Over time, more info will be added to the nodes.
-Chris
More information about the cfe-dev
mailing list