fix Issue 12235 - ICE on printing mangled name of forward reference lambda by pragma(msg)
fix Issue 12236 - Inconsistent mangleof result
fix Issue 12237 - Inconsistent behavior of the instantiating enclosing template function
Merge pull request #3370 from 9rnsr/fix_lambda

Issue 12235 & 12236 & 12237 - fix issues around lambda