This is an update patch for bug [1].
-Wmissing-braces should not fire for system headers.
Differential D32646
Fix a bug that -Wmissing-braces fires on system headers yamaguchi on Apr 28 2017, 7:59 AM. Authored by
Details
This is an update patch for bug [1]. -Wmissing-braces should not fire for system headers.
Diff Detail Event TimelineComment Actions LGTM, modulo the comment.
Comment Actions @v.g.vassilev Comment Actions I don't think we should worry about that. Please also see: http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code Comment Actions Did you incorporate the comment from here: https://bugs.llvm.org/show_bug.cgi?id=24007#c2
Comment Actions Everything beside this last test case seems to be handled. And from what I remember there was a longer discussion how to properly handle this case and so this review got stuck. Can we add this last test case with a FIXME and then get this merged? |
Is it intentional that you run the new code only when !VerifyOnly?