Bug 372220

Summary: Usage of a template aliases are not hightlighted
Product: [Applications] kdevelop Reporter: Guillaume Racicot <gufideg>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Guillaume Racicot 2016-11-08 16:21:22 UTC
Kdevelop seems to ignore highlighting and inspecting usage of template alisases. Here's a minimal code to reproduce the error.

    template<typename T>
    using my_vec = std::vector<T>;

    my_vec<int> doStuff();

Inside the using declaration, my_vec is highlighted properly, but not when it is used (eg. in the function declaration)
Comment 1 Kevin Funk 2017-01-11 18:13:13 UTC
Can confirm, using KDevelop from up-to-date 5.0 branch.
Comment 2 Guillaume Racicot 2018-03-02 17:23:15 UTC
I think this problem has been resolved in KDevelop 5.2
Comment 3 Kevin Funk 2018-03-15 19:10:15 UTC
I think this is a duplicate of bug 384580, indeed fixed. 

Thanks for the feedback!

*** This bug has been marked as a duplicate of bug 384580 ***