<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I would like to contribute to kdev-clang plugin but I need some guidance or suggestions on directions where to fix following problems:<br><br></div>
1) assertion failed in duchain/tuduchain.h<br>void setType(Declaration* decl, AbstractType::Ptr type) const<br>{<br>     IdentifiedType *id = dynamic_cast<IdentifiedType*>(type.unsafeData());<br>     Q_ASSERT(id);<br>
...<br>}<br></div><br></div>2) same data/function member use is colorized differently in header file and in source file<br><br></div>3) no navigation widget on class scope specifier for out-of-line member function definitions<br>
class Foo<br>{<br>    void bar();<br>};<br><br>void Foo::bar() {} // "Foo" not navigable, but colorized<br><br></div>4) no navigation widget and colorization of destructor declaration<br>class B<br>{<br>public:<br>
    ~B() {} // "~B" is not navigable, and not colorized<br>};<br>...<br></div><div>B b;<br>b.~B(); // "~B" is not navigable, and not colorized</div><div><br></div>5) no navigation widget for uses inside user defined subscript operator:<br>
int getInt();<br>std::map<int, int> c;<br>c[getInt()] = 0; // "getInt()" is not navigable separately but whole [getInt()] is<br><br></div>6) no navigation widget for uses of other overloaded operators<br>std::cout << 1; // "<<" is not navigable<br>
<br></div><div>7) no navigation widget or colorization of uses of template parameters<br>template <typename Type> // "Type" is colorized but not navigable<br>class A<br>{<br>    Type member; // "Type" is not navigable, and not colorized<br>
};<br></div><div><br></div>Regards,<br>Maciej<br></div>