https://bugs.kde.org/show_bug.cgi?id=369842
Bug ID: 369842 Summary: wrong tooltip shows up for complex types declared with decltype Product: kdevelop Version: git master Platform: unspecified OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: CPP (Clang-based) Assignee: kdevelop-bugs-n...@kde.org Reporter: kitanat...@gmail.com when the expression in decltype does not result in a simple type the entire expression is shown as type instead of the deduced one Reproducible: Always Steps to Reproduce: 1. open a c++ file 2. paste simple code sample: struct N { int a; }; struct M { N z; }; decltype(M::z) i; 3. hover over i Actual Results: tooltip says type of i is decltype(M::z) Expected Results: tooltip should say type of i is N code completion works for the wrongly showed type a second sample of code for something more complex: #include <vector> decltype(std::declval<std::vector<char>>().begin()) x; -- You are receiving this mail because: You are watching all bug changes.