https://bugs.kde.org/show_bug.cgi?id=358799

Piotr Mierzwinski <piotr.mierzwin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.90.91                     |git master
            Summary|Function "Update            |Use of "Update definition
                   |declaration signature"      |signature" in "Adapt
                   |breaks declaration if       |Signature" breaks
                   |inside there is default set |declaration of function if
                   |parameter                   |its argument has default
                   |                            |value
           Platform|Kubuntu Packages            |Archlinux Packages

--- Comment #3 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
Below please fine example for the  version of KDevelop and KDevPlatform cloned
and built from branch 5.0, at 08-07.2016.

There is simple function:
declaration:
    void foo( bool param = true );

definition:
void MyClass::foo( bool param )
{
}

In declaration of function I rename param to param2. And now choosing "Update
definition signature" from "Adapt Signature" helper breaks declaration. I get
code like this:

declaration
    void MyClass::foo ( bool param2 )
    ;

definition (no change):
void MyClass::foo( bool param )
{
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to