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

Bug 363243

Summary: Generate Getters and Setters removes __declspec and breaks formatting
Product: [Tools] CDT Reporter: Marc-AndrĂ© Laperle <malaperle>
Component: cdt-refactoringAssignee: Sergey Prigogin <eclipse.sprigogin>
Status: RESOLVED FIXED QA Contact: Sergey Prigogin <eclipse.sprigogin>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.1.0   
Target Milestone: 8.1.0   
Hardware: All   
OS: All   
Whiteboard:

Description Marc-André Laperle CLA 2011-11-08 19:30:29 EST
Using CDT 8.1.0.201111072207

Example:

class __declspec(dllimport) Test
{
public:

    void       Foo();
    int test;
};

Use Generate Getters and Setters on 'test' field. Result: formatting changes and __declspec is removed.
Comment 1 Sergey Prigogin CLA 2011-12-14 15:09:44 EST
Fixed together with bug 363244.