Bug 295865

Summary: 'Update definition signature' not updates using this signature into function body.
Product: [Applications] kdevelop Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: olivier.jg, piotr.mierzwinski
Priority: NOR    
Version: 4.2.90   
Target Milestone: 4.2.3   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Piotr Mierzwinski 2012-03-12 19:58:55 UTC
After execution 'Update definition signature' there is 'Problem in semantic analysis: Declaration not found: parameterName' for renamed function parameter, that is not resolvable by C++ parser becouse 'Solve' ComboBox is empty.
I can't rename using of this parameter by refactoring tool, because I gives the message "Not declaration under cursor". I must do it manually or by "Replace" option.
Example:
header file:
class MyClass {
public:
        void myFun( bool status );
};
cpp file:
MyClass::myFun( bool status )
{
    if (! status)  {
       ; // do something
    }
}
In header file, I renaming parameter status (function myFun) to newStatus. Occurs me additional menu: "1 - Update definition signature   0 - Hide". I pressing Alt+1. In declaration and in definition of function myFun parameter has been renamed, but its use isn't. I have 'Problem in semantic analysis: Declaration not found: status'
Comment 1 Olivier.jg 2012-03-17 01:05:29 UTC
This will be resolved shortly

*** This bug has been marked as a duplicate of bug 255706 ***