Bug#45998: Incorrect parsing of C++ code

lindovsky at gncz.cz lindovsky at gncz.cz
Wed Jul 31 18:04:02 UTC 2002


Package: kdevelop
Version: KDE 3.0.0 
Severity: normal
Installed from:    RedHat RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

Hi,

I would like to report the following three bugs for KDevelop 2.1.1 (using KDE 2.2-11) - but maybe they remain in later versions:

a) The class tree doesn't parse the following code correctly - the catch clause is shown as a function in the tree:

void f() try {
} catch(int) {
}

b) The class tree doesn't parse the following code correctly - the X::Y class is missing from the tree:

class X {
  class Y;
};
class X::Y {};

b) The class tree does show the function A::B::g from the following code but it isn't able to bring you to its
declaration/definition:

namespace A {
  namespace B{
    void g() {}
  }
}

Regards,
Petr Lindovsky




(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/45/45998.html)




More information about the KDevelop-devel mailing list