Revision 136bf57...
Go back to digest for 27th November 2011Features in Development Tools
Milian Wolff committed changes in [kdevelop] /cpp/cppduchain:
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
File Changes
Modified 7 files
- /cpp/cppduchain
- languages/contextbuilder.cpp
- languages/declarationbuilder.cpp
- languages/declarationbuilder.h
- languages/typebuilder.cpp
- languages/typebuilder.h
- languages/tests/test_duchain.h
- languages/tests/test_duchain_cpp2011.cpp
7 files changed in total