<div dir="ltr">Hi,<div><br></div><div>I'm looking at the SwitchCase in Clang and more specifically to the getNextSwitchCase method.</div><div>In the following example I would expect that for "case 0", the method will return "case 3".</div>
<div>What I get is the opposite though.</div><div><br></div><div><div>case 0:</div><div>case 3: a = 10;</div><div>           break;</div><div><br></div><div>(I print the pointers for the current SwithcCase and the next)</div>
<div>For "case 0"</div><div><div>0x4c056f0</div><div>0x0</div><div>For "case 3"</div><div>0x4c05748</div><div>0x4c056f0</div></div><div><br></div><div>Am I understanding something in a wrong way or is that a bug perhaps?</div>
<div><br></div><div>Thanks.</div><div><br></div>-- <br><div dir="ltr"><br>George Kastrinis<br><a href="http://gkastrinis.info/" target="_blank">http://gkastrinis.info/</a><br></div>
</div></div>