Bug 372220 - Usage of a template aliases are not hightlighted
Summary: Usage of a template aliases are not hightlighted
Status: RESOLVED DUPLICATE of bug 384580
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 16:21 UTC by Guillaume Racicot
Modified: 2018-03-15 19:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***