kdevelop doesn't resolve 'auto'

Milian Wolff mail at milianw.de
Fri May 2 11:26:59 BST 2014


On Wednesday 30 April 2014 17:14:43 Matthew Woehlke wrote:
> It's great that KDevelop can usually figure out the type of an 'auto'
> declaration. But sometimes it can't:
> 
>    std::vector<int> vec;
>    auto x = vec[0]; // deduction for 'x' fails
> 
>    QList<int> list;
>    foreach (auto y, list) // deduction for 'y' fails
> 
> Are these known? Worth filing (a) bug report(s)?

Yes, known. No, don't write a bug: 

https://bugs.kde.org/show_bug.cgi?id=312132
https://bugs.kde.org/show_bug.cgi?id=299124
https://bugs.kde.org/show_bug.cgi?id=324388

Generally, all of this is already "fixed" in kdev-clang.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de



More information about the KDevelop mailing list