Patch Set 1: Code-Review-1
This was a long-standing bug in clang that is fixed in clang 6 and newer: https://bugs.llvm.org/show_bug.cgi?id=21689
Using {0} is *the* standard way to tell the compiler to initialize all fields (recursively) to its neutral value. Back in the times I would have put a -2 on this.
Thanks for the bug report. I can still reproduce this with Clang 8.0, so it appears that this is one of the remaining edge cases which hasn't been fixed: https://bugs.llvm.org/show_bug.cgi?id=39931
I'll abandon this change and look into fixing this upstream.
To view, visit change 31973. To unsubscribe, or for help writing mail filters, visit settings.