Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315669

Summary: Refactoring: Reverse Loop
Product: [Tools] PTP Reporter: Ashley Kasza <akasza2>
Component: Photran.Refactoring EngineAssignee: Ashley Kasza <akasza2>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: akasza2, com-eclipse-dot-org
Version: 6.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 315665    
Bug Blocks:    
Attachments:
Description Flags
reverseLoopPatch
com-eclipse-dot-org: iplog+
Final test case (depends on Reindenter changes) g.watson: iplog+

Description Ashley Kasza CLA 2010-06-03 16:25:55 EDT
Created attachment 171018 [details]
reverseLoopPatch

Takes a Do loop and reverses it (do i=1,10,1 -> do i=10,1,-1)
Comment 1 Jeffrey Overbey CLA 2010-06-03 16:49:18 EDT
Thanks, Ashley.  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?
Comment 2 Ashley Kasza CLA 2010-06-04 17:59:54 EDT
I confirm that

1. I wrote 100% of the code without incorporating content from elsewhere or
relying on the intellectual property of others,

2. I have the right to contribute the code to Eclipse, and

3. I have included the EPL license header in all source files.
Comment 3 Jeffrey Overbey CLA 2010-06-15 18:09:53 EDT
This is a small contribution, so we will not need to file a CQ.
Comment 4 Jeffrey Overbey CLA 2010-06-22 19:42:57 EDT
Created attachment 172474 [details]
Final test case (depends on Reindenter changes)
Comment 5 Jeffrey Overbey CLA 2010-06-22 19:48:31 EDT
Thanks.  I have committed this to CVS except for the last test case which does not pass (cf. attachment); we should revisit that when the Reindenter changes are in CVS.

Ashley, could you please add documentation for this refactoring to the Photran *7.0* Advanced
Features manual?  It is here:

http://wiki.eclipse.org/PTP/photran/documentation/photran7advanced

Please follow the general form used for the other refactorings.  Let me know
when that's done, and we can close this bug after we put the last test case in.  Thanks a lot.
Comment 6 Jeffrey Overbey CLA 2010-07-14 16:30:17 EDT
Documentation added