[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 299393] New: 'Update declaration signature' doesn't update declaration of function after change
From:       Piotr Mierzwinski <piotr.mierzwinski () gmail ! com>
Date:       2012-05-04 18:08:10
Message-ID: bug-299393-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 299393
          Severity: normal
           Version: 4.3.0
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: 'Update declaration signature' doesn't update
                    declaration of function after change function from
                    const to non const in definition
    Classification: Unclassified
                OS: Linux
          Reporter: piotr.mierzwinski@gmail.com
          Hardware: Mandriva RPMs
            Status: UNCONFIRMED
         Component: Language Support: CPP
           Product: kdevelop

I have const function (declaration in header's file and declaration in cpp
file). I want non const function. Thats why I remove key word 'const' (that
causes the function is constatnt) from definition of function. I press 'Update
declaration signature' button (toolTip shows correct transformation). In
declaration (header file) key word 'const' didn't removed.

Reproducible: Always

Steps to Reproduce:
1. Declare const function in header's file
2. Create definition of const function in cpp file
3. Save all files
4. Remove key word: const (that causes the function is constant) from
definition of function
5, Choose ''Update declaration signature' from popuping menu
6. Check header file
Actual Results:  
void foo( const QString& param) const;

Expected Results:  
void foo( const QString& param);

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic