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

            Bug ID: 387442
           Summary: Renaming template classes does not update constructor
           Product: kdevelop
           Version: 5.2.1
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: mwall...@umich.edu
  Target Milestone: ---

Created attachment 109120
  --> https://bugs.kde.org/attachment.cgi?id=109120&action=edit
Illustrates the problem

Consider the following code:

    template <typename T>
    class Foo {
        Foo();
    };

When trying to rename the class to "Bar" through the "Rename declaration"
refactoring tool, the name of the constructor is not updated; instead, I get:

    template <typename T>
    class Bar {
        Foo();    // ERROR: should be Bar() now
    };

This is reflected also in the "Show uses" feature, where the constructor is not
listed.  Also, renaming non-templated classes works as expected.

Perhaps related: bug #365420

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

Reply via email to