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

Bo Zhao zbjob36 at hotmail.com
Tue Mar 18 06:38:07 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.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/how-to-get-loop-boundary-form-ForStmt-tp4038484.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list