fix Issue 10820 - curly brakets prevent inlining with DMD
fix Issue 11217 - Header generation does not output 'inout' storage class on parameters
fix Issue 11311 - Destructor not called on temporary with opIndex + opSlice
Merge pull request #2654 from 9rnsr/fix10820

Issue 10820 - curly brakets prevent inlining with DMD
Merge pull request #2648 from 9rnsr/fix11217

Issue 11217 - Header generation does not output 'inout' storage class on parameters
Merge pull request #2688 from 9rnsr/fix11311

[REG2.064a] Issue 11311 - Destructor not called on temporary with opIndex + opSlice