Bug 562896 - Regression for method return types
Summary: Regression for method return types
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 9.11.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 9.11.1   Edit
Assignee: Marco Stornelli CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-05-06 14:30 EDT by Marco Stornelli CLA
Modified: 2020-05-09 03:38 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Stornelli CLA 2020-05-06 14:30:44 EDT
After resolution of Bug XXX there is now a regression when the method returns a class or struct, the type is always qualified but in a wrong way. Example:

struct Test {
};
class Child {
public:
	Test foo();
};

After implement method:

Child::Test Child::foo() {
}

Correct version:

Test Child::foo() {
}
Comment 1 Eclipse Genie CLA 2020-05-06 14:32:08 EDT
New Gerrit change created: https://git.eclipse.org/r/162582
Comment 2 Marco Stornelli CLA 2020-05-06 14:32:50 EDT
I meant Bug 452809
Comment 4 Eclipse Genie CLA 2020-05-09 02:44:18 EDT
New Gerrit change created: https://git.eclipse.org/r/162739