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

            Bug ID: 375642
           Summary: Code completion doesn't offer overrides if parent
                    class derives from template parameter
           Product: kdevelop
           Version: 5.1.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: nicolas.alva...@gmail.com
  Target Milestone: ---

In this code:

class Base {
    virtual void baseMethod(){}
};
template<typename Parent>
class Derived: public Parent
{
    virtual void derivedMethod(){}
};
class SubDerived: public Derived<Base> {

};

Code completion inside SubDerived offers to declare an override for
derivedMethod, but not for baseMethod.

(Real-world example of that template pattern: KDevPlatform duchain abstract
builders)

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

Reply via email to