Move voidInitLiteral into a free function
Merge pull request #3258 from yebblies/voidinitliteral

[DDMD] [refactor] Move voidInitLiteral into a free function