I’m looking at the SwitchCase in Clang and more specifically to the getNextSwitchCase method.
In the following example I would expect that for “case 0”, the method will return “case 3”.
What I get is the opposite though.
case 3: a = 10;
(I print the pointers for the current SwithcCase and the next)
For “case 0”
For “case 3”
Am I understanding something in a wrong way or is that a bug perhaps?