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

Bug 328356

Summary: [C++0x] Editor support for range-based for
Product: [Tools] CDT Reporter: Markus Schorn <mschorn.eclipse>
Component: cdt-editorAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: enhancement    
Priority: P3 CC: cdtdoug, devkid, malaperle
Version: 8.0   
Target Milestone: 8.0   
Hardware: PC   
OS: All   
Whiteboard:

Description Markus Schorn CLA 2010-10-21 10:28:05 EDT
The parser supports range based for loops (Bug #327223). For that I have introduced the interface 'ICPPASTRangeBasedForStatement', which does not inherit from 'IASTForStatement'.

Where there is special treatment for for-loops, the new interface needs to be taken into account. I assume that at least the formatter is affected.
Comment 1 Anton Leherbauer CLA 2010-10-29 03:58:24 EDT
Fixed in HEAD.