Bug 315754 - Completion fails with implicit using declaration
Summary: Completion fails with implicit using declaration
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: 4.4.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-25 17:05 UTC by Erwin Van de Velde
Modified: 2016-09-08 20:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erwin Van de Velde 2013-02-25 17:05:17 UTC
Suppose class A and B belong to namespace Space:

using Space::A;

void A::someFunction() {
    B b;
    b.otherFunction();
}

The completion of otherFunction fails, although this is syntactically and sematically correct C++ code.

Reproducible: Always
Comment 1 Kevin Funk 2016-09-08 20:33:35 UTC
Hello!

We are working on a new clang-based C/C++ language plugin for KDevelop 5 which
supersedes the old C++ plugin in KDevelop 4. See e.g.:
https://www.kdevelop.org/news/first-beta-release-kdevelop-500-available

Due to a lack of manpower, we cannot fix bugs in the old C++ plugin. We rather
want to supply a good Clang based C++ experience for KDevelop 5 than wasting
our time on the legacy C++ support for KDevelop 4.

If you think this bug is applicable to Clang/KDevelop 5, please reopen the
report and add new information on how to reproduce the bug there.