[cfe-dev] traverse CFG in Clang
Shuai Wang
wangshuai901 at gmail.com
Fri Nov 1 07:23:06 PDT 2013
could anybody tell me how to traverse CFG in Clang towards c/cpp source
code?
Currently I am able to find out all the assignment declaration , do a
source to source transformation to insert certain code I want.
I want to find out all the basic control block, using source 2 source
transformation to insert certain code.
I think class clang::CFG could help but actually I have no idea how to use
it...
What I am referring now are these
tutorials<https://github.com/loarabia/Clang-tutorial>
Thanks !
Shuai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131101/8ee3b633/attachment.html>
More information about the cfe-dev
mailing list