Move Expression::optimize into a visitor class
Fix private method C++ mangling
Merge pull request #3220 from IgorStepanov/cppmanglewindows3

Fix private method C++ mangling
Merge pull request #3214 from yebblies/optvisitor

[DDMD] [refactor] Move Expression::optimize into a visitor class
Move Expression::toDelegate into a free function