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

            Bug ID: 461980
           Summary: KDevelop code model ignores using declarations for
                    types
    Classification: Applications
           Product: kdevelop
           Version: git master
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: eugene.shalygin+bugzilla....@gmail.com
  Target Milestone: ---

When a type is introduced via a using declaration, it is not fully recognized
by the code model: the name is rendered colorless, have no tooltip, but it
participates in code completion.

#include <string>
using std::string;

int main()
{
    string s; // "string" is colorless and has no tooltip
    s. // code completion works here
}

Introducing types via type aliases (using string = std::string) works.

Version 5.10.230370 (23.03.70)

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

Reply via email to