[cfe-dev] Which Checker type to use?
Sujit Kamthe
Sujit.Kamthe at kpitcummins.com
Tue Dec 4 19:59:15 PST 2012
Hi,
I am implementing a static analyzer check where I want to compare data types of two variable on LHS and RHS of an expression.
e.g.
int x;
unsigned int y;
y=x; //Check data type of RHS and LHS
Please suggest which checker type to use.
I tried using bind and then type casted the LHS to TypedValueRegion, but I could not get the data type for RHS doing the same thing.
Please suggest.
Regards,
Sujit Kamthe
[buildbox_logo]
Productivity & FE | Automotive and Engineering SBU | KPITCummins Infosystems Ltd|Board: +91 20 66525000 | Extn:3102 |Mobile:7709076120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121205/5a2d29be/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4082 bytes
Desc: image001.jpg
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121205/5a2d29be/attachment.jpg>
More information about the cfe-dev
mailing list