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