Community
Participate
Working Groups
Build Identifier: The case statement is not structured recursively. It would be nice for the code inside of the case statement to be stored in the ASTCaseStmtNode, accessible by getBody() or something. Reproducible: Always
Also, we will need to change the Control Flow Graph code once this is fixed.
Created attachment 181011 [details] proposed patch This patch alters the ASTCaseStmtNode to add a body that contains the program statements inside the case statement. The SelectCaseRestructurer visits all case statements and modifies them to use this added body.
Thanks. Can you please confirm that 1. you wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others, 2. you have the right to contribute the code to Eclipse, and 3. you have included the EPL license header in all source files?
Yes, I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others, I have the right to contribute the code to Eclipse, and I have included the EPL license header in all source files.