Revision 8c3345a...

Go back to digest for 17th July 2011

Optimization in Development Tools

Milian Wolff committed changes in [kdevelop/c++0x] /cpp/parser:

optimize: remove new lambda member from PrimaryExpressionAST and handle it differently

we now inherit ExpressionAST in the LambdaExpressionAST and just return that
where appropriate in parsePrimaryExpression

that way the (common) PrimaryExpressionAST member does not need to save an additional
data member for the LambdaExpressionAST pointer

File Changes

Modified 4 files
  • /cpp/parser
  •   languages/ast.h
  •   languages/default_visitor.cpp
  •   languages/parser.cpp
  •   languages/parser.h
4 files changed in total