[cfe-users] CFG variable type information

Viktor Kaszian kaszian at cs.uni-bonn.de
Mon Apr 7 16:26:41 PDT 2014

Hey Users!

I have two question regarding the CFG:

1. How is typeinformation of variables saved?
In the manual 
(http://clang.llvm.org/docs/InternalsManual.html#basic-blocks) there is 
a code example and a corresponding Basic Block list. However the BB-List 
does not show the variables type (int). I do assume that it is saved, 
but i can not work out how.

2. Following up: Where is this typeinformation saved and how can i 
access it?

I still have a hard time infering these things just from code/doxygen, 
so if someone could help out, it'd be much appreciated.

Thanks in advance and best regards.

More information about the cfe-users mailing list