[llvm] r295009 - [MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).

Eugene Zelenko via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 10:18:07 PST 2017


Hi, Daniel!

On Mon, Feb 13, 2017 at 11:22 PM, Daniel Jasper <djasper at google.com> wrote:
>
>>    unsigned PersonalityEncoding;
>
> You forgot to initialize this to 0. IIUC default initialization (i.e.
> leaving POD types as uninitializes is not done as long as the variable is
> mentioned in the initializer list). Fixed in r295036.

Thank you for help and explanations!

I'm very sorry to introduce problem. This member initialization was
suspicious for me, but I was too overconfident with X86 regressions.

Eugene.


More information about the llvm-commits mailing list