[cfe-dev] how to get loop boundary form ForStmt

Bo Zhao zbjob36 at hotmail.com
Tue Mar 18 07:01:09 PDT 2014


Hi, 
I'm new with clang. I want to know how to get loop boundary form ForStmt. For example, for(int i = 0; i!=10;++i) , I want to get the value 0 and 10. Then I can use those value in other template such as intel TBB parallel_for. 

I already know that getCond(),getInit() method, but how to get the value? 

Thanks. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140318/733748d2/attachment.html>


More information about the cfe-dev mailing list