Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328356 - [C++0x] Editor support for range-based for
Summary: [C++0x] Editor support for range-based for
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 8.0   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 10:28 EDT by Markus Schorn CLA
Modified: 2010-10-29 04:23 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.