<div dir="ltr">Hi,<br><br>I need to decompose short circuit expressions into regular And, Or.<br>I've started doing it manually, but then I figured out that the compiler probably does the same.<br>Currently I identify such expressions using Stmt::hasImplicitControlFlow, and then if it's a BinaryOperator I check if opCode is BO_LAnd or BO_LOr. Is this the right way?<br>
Is there a way to get clang to do it for me?<br>Can I assist CFG class with this issue?<br><br><br>Thanks in advance,<br clear="all"><br>-- <br><div dir="ltr">Best Regards,<br>Ilya Mirsky<br><a href="http://www.cs.bgu.ac.il/%7Emirskyil" target="_blank">www.cs.bgu.ac.il/~mirskyil</a><br>
</div><br>
</div>