Revision 05b647a...
Go back to digest for 22nd January 2012Features in Development Tools
Milian Wolff committed changes in [kdevelop/4.3] /cpp/cppduchain:
c++11 support: first work towards proper DUChain integration of lambda expressions
- a lambda expression now properly gets a function type associated
- the lambda declarator now is represented by a function context
which gets imported into the body of the lambda expression
known problems:
- the surrounding context is still implicitly imported into the
body context
- the return-type is not properly computed in cases where no
explicit trailing return type is given but only a single
return statement in the body instead
- lambda captures are still not handled at all
File Changes
Modified 6 files
- /cpp/cppduchain
- languages/contextbuilder.cpp
- languages/contextbuilder.h
- languages/expressionvisitor.cpp
- languages/expressionvisitor.h
- languages/tests/test_duchain.h
- languages/tests/test_duchain_cpp2011.cpp
6 files changed in total