https://bugs.kde.org/show_bug.cgi?id=279728 Milian Wolff changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #1 from Milian Wolff 2011-11-24 18:36:05 --- Git commit 136bf571f3b2f6ddb8369dc8576605650924c5fa by Milian Wolff. Committed on 24/11/2011 at 19:30. Pushed by mwolff into branch 'master'. c++2011 support: proper type deduction in auto range-based-for for c-arrays we take the element type for all other types we look via ADL for begin(listType) and then dereference the return type of that function See 6.5.4 in the C++2011 spec BUG: 279728 M +13 -4 languages/cpp/cppduchain/contextbuilder.cpp M +49 -2 languages/cpp/cppduchain/declarationbuilder.cpp M +2 -0 languages/cpp/cppduchain/declarationbuilder.h M +1 -0 languages/cpp/cppduchain/tests/test_duchain.h M +54 -0 languages/cpp/cppduchain/tests/test_duchain_cpp2011.cpp M +5 -0 languages/cpp/cppduchain/typebuilder.cpp M +3 -0 languages/cpp/cppduchain/typebuilder.h http://commits.kde.org/kdevelop/136bf571f3b2f6ddb8369dc8576605650924c5fa -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs