Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363243 - Generate Getters and Setters removes __declspec and breaks formatting
Summary: Generate Getters and Setters removes __declspec and breaks formatting
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 8.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.1.0   Edit
Assignee: Sergey Prigogin CLA
QA Contact: Sergey Prigogin CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 19:30 EST by Marc-André Laperle CLA
Modified: 2012-02-23 11:33 EST (History)
1 user (show)

See Also:


Attachments

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